无涯教程-PHP - xml_get_error_code函数

37 阅读1分钟

xml_get_error_code - 语法

int xml_get_error_code ( resource $parser )

它用于获取XML解析器错误代码

Sr.No 参数 
1

parser

它用于指定要使用的XML解析器。

xml_get_error_code - 返回值

如果成功,则返回错误代码;如果失败,则返回FALSE

参考链接

www.learnfk.com/php/php-xml…