Home
last modified time | relevance | path

Searched refs:xml_parser_get_option (Results 1 – 7 of 7) sorted by relevance

/PHP-7.2/ext/xml/tests/
H A Dxml_parser_get_option_error.phpt2 Test xml_parser_get_option() function : error conditions
11 /* Prototype : proto int xml_parser_get_option(resource parser, int option)
17 echo "*** Testing xml_parser_get_option() : error conditions ***\n";
20 //Test xml_parser_get_option with one more than the expected number of arguments
25 var_dump( xml_parser_get_option(null, $option, $extra_arg) );
27 // Testing xml_parser_get_option with one less than the expected number of arguments
30 var_dump( xml_parser_get_option(null) );
34 *** Testing xml_parser_get_option() : error conditions ***
36 -- Testing xml_parser_get_option() function with more than expected no. of arguments --
38 Warning: xml_parser_get_option() expects exactly 2 parameters, 3 given in %s on line %d
[all …]
H A Dxml_parser_get_option_variation1.phpt2 Test xml_parser_get_option() function : usage variations
11 /* Prototype : proto int xml_parser_get_option(resource parser, int option)
17 echo "*** Testing xml_parser_get_option() : usage variations ***\n";
92 var_dump( xml_parser_get_option($value, $option) );
99 *** Testing xml_parser_get_option() : usage variations ***
123 Warning: xml_parser_get_option() expects parameter 1 to be resource, float given in %s on line %d
128 Warning: xml_parser_get_option() expects parameter 1 to be resource, float given in %s on line %d
133 Warning: xml_parser_get_option() expects parameter 1 to be resource, float given in %s on line %d
138 Warning: xml_parser_get_option() expects parameter 1 to be resource, float given in %s on line %d
173 Warning: xml_parser_get_option() expects parameter 1 to be resource, null given in %s on line %d
[all …]
H A Dxml_parser_get_option_variation2.phpt2 Test xml_parser_get_option() function : usage variations
17 echo "*** Testing xml_parser_get_option() : usage variations ***\n";
90 var_dump( xml_parser_get_option($parser, $value) );
98 *** Testing xml_parser_get_option() : usage variations ***
102 Warning: xml_parser_get_option(): Unknown option in %s on line %d
107 Warning: xml_parser_get_option(): Unknown option in %s on line %d
112 Warning: xml_parser_get_option(): Unknown option in %s on line %d
117 Warning: xml_parser_get_option(): Unknown option in %s on line %d
122 Warning: xml_parser_get_option(): Unknown option in %s on line %d
127 Warning: xml_parser_get_option(): Unknown option in %s on line %d
[all …]
H A Dxml_parser_set_option_basic.phpt17 echo "Simple testcase for xml_parser_get_option() function\n";
21 var_dump(xml_parser_get_option($parser, XML_OPTION_CASE_FOLDING));
22 var_dump(xml_parser_get_option($parser, XML_OPTION_TARGET_ENCODING));
27 var_dump(xml_parser_get_option($parser, XML_OPTION_CASE_FOLDING));
28 var_dump(xml_parser_get_option($parser, XML_OPTION_TARGET_ENCODING));
33 var_dump(xml_parser_get_option($parser, XML_OPTION_CASE_FOLDING));
34 var_dump(xml_parser_get_option($parser, XML_OPTION_TARGET_ENCODING));
37 var_dump(xml_parser_get_option($parser, XML_OPTION_TARGET_ENCODING));
44 Simple testcase for xml_parser_get_option() function
H A Dxml_parser_get_option_variation3.phpt2 xml_parser_get_option() with XML_OPTION_SKIP_TAGSTART and XML_OPTION_SKIP_WHITE
11 var_dump(xml_parser_get_option($parser, XML_OPTION_SKIP_TAGSTART));
12 var_dump(xml_parser_get_option($parser, XML_OPTION_SKIP_WHITE));
17 var_dump(xml_parser_get_option($parser, XML_OPTION_SKIP_TAGSTART));
18 var_dump(xml_parser_get_option($parser, XML_OPTION_SKIP_WHITE));
/PHP-7.2/ext/xml/
H A Dphp_xml.h134 PHP_FUNCTION(xml_parser_get_option);
H A Dxml.c237 PHP_FE(xml_parser_get_option, arginfo_xml_parser_get_option)
1628 PHP_FUNCTION(xml_parser_get_option) in PHP_FUNCTION() argument

Completed in 14 milliseconds