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 Functions 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 descriptions
1

parser

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

PHP XML Functions Manual