Home
last modified time | relevance | path

Searched refs:xml_get_error_code (Results 1 – 12 of 12) sorted by last modified time

/PHP-7.3/ext/xml/
H A Dxml.c228 PHP_FE(xml_get_error_code, arginfo_xml_get_error_code)
1450 PHP_FUNCTION(xml_get_error_code) in PHP_FUNCTION() argument
H A Dphp_xml.h125 PHP_FUNCTION(xml_get_error_code);
/PHP-7.3/ext/xml/tests/
H A Dxml_get_error_code_variation1.phpt2 Test xml_get_error_code() function : usage variations
11 /* Prototype : proto int xml_get_error_code(resource parser)
17 echo "*** Testing xml_get_error_code() : usage variations ***\n";
91 var_dump( xml_get_error_code($value) );
98 *** Testing xml_get_error_code() : usage variations ***
102 Warning: xml_get_error_code() expects parameter 1 to be resource, int given in %s on line %d
107 Warning: xml_get_error_code() expects parameter 1 to be resource, int given in %s on line %d
112 Warning: xml_get_error_code() expects parameter 1 to be resource, int given in %s on line %d
117 Warning: xml_get_error_code() expects parameter 1 to be resource, int given in %s on line %d
122 Warning: xml_get_error_code() expects parameter 1 to be resource, float given in %s on line %d
[all …]
H A Dbug32001.phpt128 echo "[Error] ", xml_error_string(xml_get_error_code($parser)), "\n";
H A Dbug32001b.phpt84 echo "[Error] ", xml_error_string(xml_get_error_code($parser)), "\n";
H A Dbug71592.phpt27 var_dump(xml_get_error_code($parser) === XML_ERROR_EXTERNAL_ENTITY_HANDLING);
H A Dxml001.phpt27 xml_error_string(xml_get_error_code($xml_parser)),
H A Dxml002.phpt69 xml_error_string(xml_get_error_code($xml_parser)),
H A Dxml003.phpt68 xml_error_string(xml_get_error_code($xml_parser)),
H A Dxml_get_error_code_error.phpt2 Test xml_get_error_code() function : error conditions
11 /* Prototype : proto int xml_get_error_code(resource parser)
17 echo "*** Testing xml_get_error_code() : error conditions ***\n";
20 echo "\n-- Testing xml_get_error_code() function with Zero arguments --\n";
21 var_dump( xml_get_error_code() );
23 //Test xml_get_error_code with one more than the expected number of arguments
27 var_dump( xml_get_error_code(null, $extra_arg) );
32 *** Testing xml_get_error_code() : error conditions ***
34 -- Testing xml_get_error_code() function with Zero arguments --
36 Warning: xml_get_error_code() expects exactly 1 parameter, 0 given in %s on line %d
[all …]
H A Dbug26614.phpt80 echo "Error: ".xml_error_string(xml_get_error_code($xml_parser))."\n";
H A Dbug26614_libxml.phpt80 echo "Error: ".xml_error_string(xml_get_error_code($xml_parser))."\n";

Completed in 20 milliseconds