The constants below are defined by this extension, and will only be available when the extension has either been compiled into PHP or dynamically loaded at runtime.
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
as break character (Mac style). YAML_LN_BREAK
(int) \n
as break character (Unix style). YAML_CRLN_BREAK
(int) \r\n
as break character (DOS style).