Lines Matching refs:parser
9 $parser = xml_parser_create_ns();
11 var_dump(xml_parser_get_option($parser, XML_OPTION_CASE_FOLDING));
12 var_dump(xml_parser_get_option($parser, XML_OPTION_TARGET_ENCODING));
14 var_dump(xml_parser_set_option($parser, XML_OPTION_CASE_FOLDING, 1));
15 var_dump(xml_parser_set_option($parser, XML_OPTION_TARGET_ENCODING, "ISO-8859-1"));
17 var_dump(xml_parser_get_option($parser, XML_OPTION_CASE_FOLDING));
18 var_dump(xml_parser_get_option($parser, XML_OPTION_TARGET_ENCODING));
20 var_dump(xml_parser_set_option($parser, XML_OPTION_CASE_FOLDING, 0));
21 var_dump(xml_parser_set_option($parser, XML_OPTION_TARGET_ENCODING, "UTF-8"));
23 var_dump(xml_parser_get_option($parser, XML_OPTION_CASE_FOLDING));
24 var_dump(xml_parser_get_option($parser, XML_OPTION_TARGET_ENCODING));
26 var_dump(xml_parser_set_option($parser, XML_OPTION_TARGET_ENCODING, "US-ASCII"));
27 var_dump(xml_parser_get_option($parser, XML_OPTION_TARGET_ENCODING));
29 xml_parser_free( $parser );