PHP libxml_get_errors() 函数

定义和用法
libxml_get_errors() 函数从 libxml 错误缓冲中获取错误。
该函数返回错误对象的一个数组,如果 libxml 错误缓冲中没有错误,则返回一个空数组。
语法
libxml_get_errors()
例子
lt;?php
libxml_get_errors()
?>
libxml_get_errors()
?>

libxml_get_errors() 函数从 libxml 错误缓冲中获取错误。
该函数返回错误对象的一个数组,如果 libxml 错误缓冲中没有错误,则返回一个空数组。