PHP xml_parser_free() Function

Frees the given XML parser.

bool xml_parser_free ( resource $parser )

The xml_parser_free() function frees an an XML parser.This function returns TRUE on success, or FALSE on failure.

Example -

ParameterDescription
parserA reference to the XML parser to free.

This function returns FALSE if parser does not refer to a valid parser, or else it frees the parser and returns TRUE.