PHP xml_parser_get_option function ()
Definizione e utilizzo
Funzione xml_parser_get_option () per ottenere le opzioni da un parser XML.
In caso di successo, la funzione restituisce il valore dell'opzione. Se fallisce, viene restituito FALSE e un errore.
grammatica
xml_parser_get_option(parser,option,value)
参数 | 描述 |
---|---|
parser | 必需。规定要使用的 XML 解析器。 |
option | 必需。规定要获取的选项。可能的值:
|
Esempi
<?php
$xmlparser = xml_parser_create();
echo xml_parser_get_option($xmlparser, XML_OPTION_CASE_FOLDING);
xml_parser_free($xmlparser);
?>
$xmlparser = xml_parser_create();
echo xml_parser_get_option($xmlparser, XML_OPTION_CASE_FOLDING);
xml_parser_free($xmlparser);
?>
Completa PHP XML Reference