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_column_number() Function

PHP XML Function Manual

The xml_get_current_column_number() function is used to get the current column number of the XML parser.

Syntax

int xml_get_current_column_number ( resource $parser )

Definition and Usage

It is used to get the current column number of the XML parser

Return Value

If the parser parameter does not point to a valid parser, the function will return FALSE; otherwise, it will return the current column number of the specified parser (given by the function xml_get_current_line_number()).

Parameter

NumberParameters and Description
1

parser

A pointer to an XML parser that needs to obtain the column number.

PHP XML Function Manual