PHP libxml_get_last_error() 函数

定义和用法
libxml_get_last_error() 函数从 libxml 错误缓冲中获取最后一个错误。
如果成功,该函数返回一个错误对象。如果失败或 libxml 错误缓冲中没有错误,则返回 FALSE。
语法
libxml_get_last_error()
实例
<?php
libxml_get_last_error()
?>
libxml_get_last_error()
?>

libxml_get_last_error() 函数从 libxml 错误缓冲中获取最后一个错误。
如果成功,该函数返回一个错误对象。如果失败或 libxml 错误缓冲中没有错误,则返回 FALSE。
点我分享笔记