PHP libxml_get_errors() 函數
定義和用法
libxml_get_errors() 函數從 libxml 錯誤緩沖中獲取錯誤。
該函數返回錯誤對象的一個數組,如果 libxml 錯誤緩沖中沒有錯誤,則返回一個空數組。
語法
libxml_get_errors()
實例
<?php libxml_get_errors() ?>
libxml_get_errors() 函數從 libxml 錯誤緩沖中獲取錯誤。
該函數返回錯誤對象的一個數組,如果 libxml 錯誤緩沖中沒有錯誤,則返回一個空數組。
libxml_get_errors()
<?php libxml_get_errors() ?>