Latest web development tutorials
 

PHP xml_parser_free() Function


< Complete PHP XML Reference

Definition and Usage

The xml_parser_free() function frees an an XML parser.

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

Syntax

xml_parser_free(parser)

Parameter Description
parser Required. Specifies XML parser to free

Tips and Notes

Tip: To create an XML parser use the xml_parser_create() function.


Example

<?php
$xmlparser = xml_parser_create();

xml_parser_free($xmlparser);
?>

< Complete PHP XML Reference