xml_parser_free Free an XML parser &reftitle.description; boolxml_parser_free XMLParserparser ¬e.resource-migration-8.0-dead-function; Frees the given XML parser. In addition to calling xml_parser_free when the parsing is finished, prior to PHP 8.0.0, it was necessary to also explicitly unset the reference to parser to avoid memory leaks, if the parser resource is referenced from an object, and this object references that parser resource. &reftitle.parameters; parser A reference to the XML parser to free. &reftitle.returnvalues; &return.success; &reftitle.changelog; &Version; &Description; &xml.changelog.parser-param;