下列常量由此扩展定义,且仅在此扩展编译入 PHP 或在运行时动态载入时可用。
YAML_ANY_SCALAR_STYLE
(int) YAML_PLAIN_SCALAR_STYLE
(int) YAML_SINGLE_QUOTED_SCALAR_STYLE
(int) YAML_DOUBLE_QUOTED_SCALAR_STYLE
(int) YAML_LITERAL_SCALAR_STYLE
(int) YAML_FOLDED_SCALAR_STYLE
(int) YAML_NULL_TAG
(string) YAML_BOOL_TAG
(string) YAML_STR_TAG
(string) YAML_INT_TAG
(string) YAML_FLOAT_TAG
(string) YAML_TIMESTAMP_TAG
(string) YAML_SEQ_TAG
(string) YAML_MAP_TAG
(string) YAML_PHP_TAG
(string) YAML_ANY_ENCODING
(int) YAML_UTF8_ENCODING
(int) YAML_UTF16LE_ENCODING
(int) YAML_UTF16BE_ENCODING
(int) YAML_ANY_BREAK
(int) YAML_CR_BREAK
(int) \r
作为换行符(Mac 风格)。 YAML_LN_BREAK
(int) \n
作为换行符(Unix 风格)。 YAML_CRLN_BREAK
(int) \r\n
作为换行符(DOS 风格)。