PHP Tutorial - PHP xml_parser_free() Function






The xml_parser_free() function frees an an XML parser.

Syntax

PHP xml_parser_free() Function has following syntax.

xml_parser_free(parser)

Parameter

ParameterIs RequiredDescription
parserRequired.XML parser to free

Return

This function returns TRUE on success, or FALSE on failure.

Example

frees an an XML parser


<?php
$xmlparser = xml_parser_create();

xml_parser_free($xmlparser);
?>