<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML ><HEAD ><TITLE >xml_get_current_byte_index</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK REL="HOME" TITLE="Manual PHP" HREF="index.html"><LINK REL="UP" TITLE="XML Parser Functions" HREF="ref.xml.html"><LINK REL="PREVIOUS" TITLE="xml_error_string" HREF="function.xml-error-string.html"><LINK REL="NEXT" TITLE="xml_get_current_column_number" HREF="function.xml-get-current-column-number.html"><META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY CLASS="refentry" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >Manual PHP</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="function.xml-error-string.html" ACCESSKEY="P" >Înapoi</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="function.xml-get-current-column-number.html" ACCESSKEY="N" >Înainte</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><H1 ><A NAME="function.xml-get-current-byte-index" ></A >xml_get_current_byte_index</H1 ><DIV CLASS="refnamediv" ><A NAME="AEN122621" ></A ><P > (PHP 3>= 3.0.6, PHP 4 , PHP 5)</P >xml_get_current_byte_index -- Get current byte index for an XML parser</DIV ><DIV CLASS="refsect1" ><A NAME="AEN122624" ></A ><H2 >Description</H2 >int <B CLASS="methodname" >xml_get_current_byte_index</B > ( resource parser)<BR ></BR ><P > <P ></P ><DIV CLASS="variablelist" ><DL ><DT ><VAR CLASS="parameter" >parser</VAR ></DT ><DD ><P > A reference to the XML parser to get byte index from. </P ></DD ></DL ></DIV > </P ><P > This function returns <TT CLASS="constant" ><B >FALSE</B ></TT > if <VAR CLASS="parameter" >parser</VAR > does not refer to a valid parser, or else it returns which byte index the parser is currently at in its data buffer (starting at 0). </P ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="function.xml-error-string.html" ACCESSKEY="P" >Înapoi</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Acasã</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="function.xml-get-current-column-number.html" ACCESSKEY="N" >Înainte</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >xml_error_string</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="ref.xml.html" ACCESSKEY="U" >Sus</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >xml_get_current_column_number</TD ></TR ></TABLE ></DIV ></BODY ></HTML >