downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

xml_get_current_column_number> <xml_error_string
[edit] Last updated: Fri, 07 Jun 2013

view this page in

xml_get_current_byte_index

(PHP 4, PHP 5)

xml_get_current_byte_index Obtiene la indexación del byte actual en un intérprete XML

Descripción

int xml_get_current_byte_index ( resource $parser )

Obtiene la indexación del byte actual en un intérprete XML dado.

Parámetros

parser

Identificador del recurso del intérprete XML sobre el que se va a obtener la indexación del byte actual.

Valores devueltos

Devuelve cual es la indexación del byte en el que se haya actualmente el intérprete en el buffer de datos (empieza siendo 0), o devuelve FALSE si parser no se refiere a un intérprete válido.

Notas

Advertencia

Esta función devuelve la indexación de bytes de acuerdo a la codificación de texto UTF-8 texto sin tener en cuenta si la entrada está en otra codificación.

Ver también



add a note add a note User Contributed Notes xml_get_current_byte_index - [1 notes]
up
1
turan dot yuksel at tcmb dot gov dot tr
7 years ago
The outcome of this function is heavily dependent on the parser implementation used. For example, at the point where the start_element_ callback is called, libxml2 parser consumes the entire element name and attributes, however expat does not.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites