xml_get_error_code
(PHP 4, PHP 5, PHP 7, PHP 8)
xml_get_error_code — 获取 XML 解析器错误代码
说明
xml_get_error_code(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-error-code.php