xml_get_current_column_number
(PHP 4, PHP 5, PHP 7, PHP 8)
xml_get_current_column_number — 获取 XML 解析器的当前列号
说明
xml_get_current_column_number(resource
$parser
): int获得指定 XML 解析器当前的列号。
参数
-
parser
-
一个指向要获取列号的 XML 解析器的指针。
返回值
如果 parser
参数没有指向一个合法的解析器,该函数将返回 false
,否则将返回指定解析器所在行(由函数 xml_get_current_line_number() 给定)的当前列号。

User Contributed Notes 2 notes
javajohn at gulfbridge.net ¶
19 years ago
"Column number" refers to the current character position within the current line of the XML document.
备份地址:http://www.lvesu.com/blog/php/function.xml-get-current-column-number.php