Lines Matching refs:xml_get_error_code
2 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
24 echo "\n-- Testing xml_get_error_code() function with more than expected no. of arguments --\n";
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
39 -- Testing xml_get_error_code() function with more than expected no. of arguments --
41 Warning: xml_get_error_code() expects exactly 1 parameter, 2 given in %s on line %d