xml_error_string

xml_error_string

(PHP 4, PHP 5, PHP 7)

xml_error_stringGet XML parser error string

Description

string xml_error_string ( int $code )

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

Parameters

code

An error code from xml_get_error_code().