Home
last modified time | relevance | path

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

/PHP-5.5/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, double given in %s on line %d
148 Warning: xml_parser_get_option() expects parameter 1 to be resource, array given in %s on line %d
153 Warning: xml_parser_get_option() expects parameter 1 to be resource, array given in %s on line %d
158 Warning: xml_parser_get_option() expects parameter 1 to be resource, array 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
/PHP-5.5/ext/xml/
H A Dphp_xml.h131 PHP_FUNCTION(xml_parser_get_option);
H A Dxml.c238 PHP_FE(xml_parser_get_option, arginfo_xml_parser_get_option)
1662 PHP_FUNCTION(xml_parser_get_option) in PHP_FUNCTION() argument

Completed in 26 milliseconds