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

User Contributed Notes
There are no user contributed notes for this page.
备份地址:http://www.lvesu.com/blog/php/function.xml-get-current-line-number.php