Easy Tutorial
❮ Func Math Log Php Closure Call ❯

PHP xml_get_error_code() Function



Definition and Usage

The xml_get_error_code() function retrieves the error code from an XML parser.

It returns the error code if successful, or FALSE if it fails.

Syntax

Parameter Description
parser Required. Specifies the XML parser to use.

Example

The output of the above code is as follows:


❮ Func Math Log Php Closure Call ❯