PHP xml_parser_free() Function

Definition and Usage

The xml_parser_free() function releases the XML parser.

Returns true if successful. Otherwise, returns false.

Syntax

xml_parser_free(parser)
Parameter Description
parser Required. Specifies the XML parser to be released.

Hints and Comments

Hint:To create an XML parser, use xml_parser_create() Function.

Example

<?php
$xmlparser = xml_parser_create();
xml_parser_free($xmlparser);
?>