<HTML ><HEAD ><TITLE >xml_parser_free</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK REL="HOME" TITLE="PHP Manual" HREF="manual.html"><LINK REL="UP" TITLE="XML parser functions" HREF="ref.xml.html"><LINK REL="PREVIOUS" TITLE="xml_get_current_byte_index" HREF="function.xml-get-current-byte-index.html"><LINK REL="NEXT" TITLE="xml_parser_set_option" HREF="function.xml-parser-set-option.html"></HEAD ><BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >PHP Manual</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="function.xml-get-current-byte-index.html" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="function.xml-parser-set-option.html" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><H1 ><A NAME="function.xml-parser-free" >xml_parser_free</A ></H1 ><DIV CLASS="refnamediv" ><A NAME="AEN28815" ></A >xml_parser_free -- Free an XML parser</DIV ><DIV CLASS="refsect1" ><A NAME="AEN28818" ></A ><H2 >Description</H2 ><DIV CLASS="funcsynopsis" ><P ></P ><CODE CLASS="FUNCDEF" >string xml_parser_free</CODE >(int parser);<P ></P ></DIV ><P > <P ></P ><DL ><DT ><TT CLASS="parameter" ><I >parser</I ></TT ></DT ><DD ><P > A reference to the XML parser to free. </P ></DD ></DL ></P ><P > This function returns false if <TT CLASS="parameter" ><I >parser</I ></TT > does not refer to a valid parser, or else it frees the parser and returns true. </P ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="function.xml-get-current-byte-index.html" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="manual.html" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="function.xml-parser-set-option.html" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >xml_get_current_byte_index</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="ref.xml.html" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >xml_parser_set_option</TD ></TR ></TABLE ></DIV ></BODY ></HTML >