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

PHP XML Function Manual

The xml_get_current_line_number() function is used to get the current line number of the XML parser.

Syntax

xml_get_current_line_number(parser)

Definition and Usage

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

Return Value

Successfully returns the current line number, and fails to return false

Parameter

NumberParameters and Description
1

parser

It is used to specify the XML parser to be used.

PHP XML Function Manual