downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

范例> <资源类型
[edit] Last updated: Fri, 17 May 2013

view this page in

预定义常量

下列常量由此扩展定义,且仅在此扩展编译入 PHP 或在运行时动态载入时可用。

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)
yaml_parse() 回调方法 可使用的通用标签。
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)
让发射器(emitter)选择一个编码。
YAML_UTF8_ENCODING (integer)
以 UTF8 编码。
YAML_UTF16LE_ENCODING (integer)
以 UTF16LE 编码。
YAML_UTF16BE_ENCODING (integer)
以 UTF16BE 编码。
yaml_emit() 的换行符类型
YAML_ANY_BREAK (integer)
让发射器(emitter)选择一个换行符。
YAML_CR_BREAK (integer)
使用 \r 作为换行符(Mac 风格)。
YAML_LN_BREAK (integer)
使用 \n 作为换行符(Unix 风格)。
YAML_CRLN_BREAK (integer)
使用 \r\n 作为换行符(DOS 风格)。


add a note add a note User Contributed Notes 预定义常量 - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | sitemap | contact | advertising | mirror sites