(PHP 4, PHP 5, PHP 7, PHP 8)
xml_parser_get_option — Lit les options d'un analyseur XML
Lit les options d'un analyseur XML.
parseroptionXML_OPTION_CASE_FOLDING,
XML_OPTION_SKIP_TAGSTART, XML_OPTION_SKIP_WHITE
et XML_OPTION_TARGET_ENCODING sont disponibles.
Reportez-vous à xml_parser_set_option() pour leurs
descriptions.
xml_parser_get_option() retourne false si
parser n'est pas un analyseur valide ou si
option n'est pas valide (génère aussi un
E_WARNING). Sinon, elle retourne la valeur
de l'option demandée.
| Version | Description |
|---|---|
| 8.0.0 |
parser attend une instance de XMLParser
désormais; auparavent, une resource xml était attendue.
|
| 7.1.24, 7.2.12, 7.3.0 |
options supporte désormais XML_OPTION_SKIP_TAGSTART
et XML_OPTION_SKIP_WHITE.
|