English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
The xml_parser_get_option() function is used to obtain options from the XML parser.
xml_parser_get_option(parser, option, value)
It has obtained options from the XML parser
If the parser parameter does not point to a valid parser or the option parameter is invalid, the function will return FALSE (and produce an E_WARNING warning). Otherwise, it will return the value of the specified setting option.
Serial Number | Parameters and Description |
---|---|
1 | parser Specify the XML parser to be used. |
2 | option Specify the option to be obtained. Possible values:
|
Try the following example to get the option setting information from the XML parser
<?php $input = xml_parser_create(); echo xml_parser_get_option($input, XML_OPTION_CASE_FOLDING); xml_parser_free($input); ?>Test and see‹/›
Output Result
1