libxml_get_errors
PHP 5 >= 5.1.0, PHP 7, PHP 8
libxml_get_errors - Retrieve array of errors
Code Examples
Example #1 A libxml_get_errors example
Result: <titles>PHP: Behind the Parser</title>
----------------------------------------------^
Fatal Error 76: Opening and ending tag mismatch: titles line 4 and title
Line: 4
Column: 46
--------------------------------------------