array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'en', ), 'this' => array ( 0 => 'function.xml-get-error-code.php', 1 => 'xml_get_error_code', ), 'up' => array ( 0 => 'ref.xml.php', 1 => 'XML Parser Functions', ), 'prev' => array ( 0 => 'function.xml-get-current-line-number.php', 1 => 'xml_get_current_line_number', ), 'next' => array ( 0 => 'function.xml-parse-into-struct.php', 1 => 'xml_parse_into_struct', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/xml/functions/xml-get-error-code.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 4, PHP 5, PHP 7, PHP 8)
xml_get_error_code — Get XML parser error code
parser
A reference to the XML parser to get error code from.
Returns one of the error codes listed in the error codes section.