XML_GET_ERROR_CODE(3) 1 XML_GET_ERROR_CODE(3)
xml_get_error_code - Get XML parser error code
SYNOPSIS
int xml_get_error_code (resource $parser)
DESCRIPTION
Gets the XML parser error code.
PARAMETERS
o $parser
- A reference to the XML parser to get error code from.
RETURN VALUES
This function returns FALSE if $parser does not refer to a valid parser, or else it returns one of the error codes listed in the error
codes section.
SEE ALSO
xml_error_string(3).
PHP Documentation Group XML_GET_ERROR_CODE(3)