PHP 8.4.2 Released!

xml_error_string

(PHP 4, PHP 5, PHP 7, PHP 8)

xml_error_stringGet XML parser error string

Beschreibung

xml_error_string(int $error_code): ?string

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

Parameter-Liste

error_code

An error code from xml_get_error_code().

Rückgabewerte

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

Siehe auch

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top