xml_parser_free
xml_parser_free
Free an XML parser
bool **xml_parser_free** XMLParser $parser
Frees the given XML .
parser
Let op: > In addition to calling when the parsing is finished, prior to PHP 8.0.0, it was necessary to also explicitly unset the reference to to avoid memory leaks, if the parser resource is referenced from an object, and this object references that parser resource.
xml_parser_free``parser
parserA reference to the XML parser to free.
return.success