xml_parser_get_option
xml_parser_get_option
Get options from an XML parser
**xml_parser_get_option** XMLParser $parser int $option
Gets an option value from an XML parser.
parserA reference to the XML parser to get an option from.
option
Which option to fetch. ,
,
,
and are available.
See for their description.
XML_OPTION_CASE_FOLDING``XML_OPTION_PARSE_HUGE``XML_OPTION_SKIP_TAGSTART``XML_OPTION_SKIP_WHITE``XML_OPTION_TARGET_ENCODING``xml_parser_set_option
Returns the option's value.
Throws a when an invalid value is passed
to .
ValueError``option
Prior to PHP 8.0.0, passing an invalid value to
generated a
as well as making the function return false.
option``E_WARNING