xml_parser_get_option
Get options from an XML parser
Beschreibung
mixed xml_parser_get_option
( resource $parser
, int $option
)
Parameter-Liste
-
parser
-
A reference to the XML parser to get an option from.
-
option
-
Which option to fetch.
XML_OPTION_CASE_FOLDING
and XML_OPTION_TARGET_ENCODING are available.
See xml_parser_set_option for their description.
Rückgabewerte
This function returns FALSE if parser does
not refer to a valid parser or if option isn't
valid (generates also a E_WARNING).
Else the option's value is returned.