Lines Matching refs:parser
13 $parser = xml_parser_create_ns();
15 var_dump(xml_parser_get_option($parser, XML_OPTION_CASE_FOLDING));
16 var_dump(xml_parser_get_option($parser, XML_OPTION_TARGET_ENCODING));
18 var_dump(xml_parser_set_option($parser, XML_OPTION_CASE_FOLDING, 1));
19 var_dump(xml_parser_set_option($parser, XML_OPTION_TARGET_ENCODING, "ISO-8859-1"));
21 var_dump(xml_parser_get_option($parser, XML_OPTION_CASE_FOLDING));
22 var_dump(xml_parser_get_option($parser, XML_OPTION_TARGET_ENCODING));
24 var_dump(xml_parser_set_option($parser, XML_OPTION_CASE_FOLDING, 0));
25 var_dump(xml_parser_set_option($parser, XML_OPTION_TARGET_ENCODING, "UTF-8"));
27 var_dump(xml_parser_get_option($parser, XML_OPTION_CASE_FOLDING));
28 var_dump(xml_parser_get_option($parser, XML_OPTION_TARGET_ENCODING));
30 var_dump(xml_parser_set_option($parser, XML_OPTION_TARGET_ENCODING, "US-ASCII"));
31 var_dump(xml_parser_get_option($parser, XML_OPTION_TARGET_ENCODING));
33 xml_parser_free( $parser );