xml_parser_free

int xml_parser_free(resource parserID) 

Frees memory for the specified XML parser.

Returns:

TRUE on success; FALSE on error

Description:

xml_parser_free() frees memory for the specified parser.

Version:

PHP 3 >= 3.0.6, PHP 4 >= 4.0b1

Example:

Free XML parser
$xmlparser = xml_parser_create(); 
xml_parser_free($xmlparser); 

Get PHP Functions Essential Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.