English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

Basic PHP Tutorial

Advanced PHP Tutorial

PHP & MySQL

PHP Reference Manual

Usage and Examples of PHP xml_get_current_byte_index() Function

PHP XML Function Manual

The xml_get_current_byte_index() function is used to get the current byte index of the XML parser.

Syntax

int xml_get_current_byte_index ( resource $parser )

Definition and Usage

It is used to get the current byte index of the XML parser

Return Value

If the parser does not point to a valid parser, this function will return FALSE; otherwise, it will return the byte index (starting at 0) that the parser is currently in its data buffer.

Parameter

NumberParameters and Description
1

parser

Reference to the XML parser to get the byte index.

PHP XML Function Manual