Constantes predefinidas
Estas constantes están definidas por esta extensión y estarán disponibles sólo cuando la extensión haya sido compilada con PHP, o bien sea cargada dinámicamente en ejecución.
-
Un estilo de entidad escalar es usado los métodos callback de yaml_parse()
- YAML_ANY_SCALAR_STYLE (integer)
- YAML_PLAIN_SCALAR_STYLE (integer)
- YAML_SINGLE_QUOTED_SCALAR_STYLE (integer)
- YAML_DOUBLE_QUOTED_SCALAR_STYLE (integer)
- YAML_LITERAL_SCALAR_STYLE (integer)
- YAML_FOLDED_SCALAR_STYLE (integer)
-
Etiquetas comunes usadas por yaml_parse() -
callback methods.
- YAML_NULL_TAG (string)
- "tag:yaml.org,2002:null"
- YAML_BOOL_TAG (string)
- "tag:yaml.org,2002:bool"
- YAML_STR_TAG (string)
- "tag:yaml.org,2002:str"
- YAML_INT_TAG (string)
- "tag:yaml.org,2002:int"
- YAML_FLOAT_TAG (string)
- "tag:yaml.org,2002:float"
- YAML_TIMESTAMP_TAG (string)
- "tag:yaml.org,2002:timestamp"
- YAML_SEQ_TAG (string)
- "tag:yaml.org,2002:seq"
- YAML_MAP_TAG (string)
- "tag:yaml.org,2002:map"
- YAML_PHP_TAG (string)
- "!php/object"
-
Encoding types for yaml_emit()
- YAML_ANY_ENCODING (integer)
- Deje que el emisor seleccione una codificación.
- YAML_UTF8_ENCODING (integer)
- Codifica a UTF8.
- YAML_UTF16LE_ENCODING (integer)
- Codifica a UTF16LE.
- YAML_UTF16BE_ENCODING (integer)
- Codifica a UTF16BE.
-
Linebreak types for yaml_emit()
- YAML_ANY_BREAK (integer)
- Seleccionaremos un carácter para el salto de línea.
- YAML_CR_BREAK (integer)
- Uso \r como carácter de salto (al estilo de Mac).
- YAML_LN_BREAK (integer)
- Uso \n como carácter de salto de línea (al estilo Unix).
- YAML_CRLN_BREAK (integer)
- Uso \r\n como cáracter de salto (al estilo DOS).
There are no user contributed notes for this page.
