xml_error_string

xml_error_stringGet XML parser error string

Description

xml_error_string(int $error_code): ?string

Gets the XML parser error string associated with the given error_code.

Parameters

error_code

An error code from xml_get_error_code().

Return Values

Returns a string with a textual description of the error error_code, or null if no description was found.

See Also