(PHP 4, PHP 5, PHP 7, PHP 8)
xml_error_string — Get XML parser error string
Gets the XML parser error string associated with the given error_code.
error_codeAn error code from xml_get_error_code().
Returns a string with a textual description of the error error_code, or null or "Unknown" if no description was found.