libxml_get_errorsRetrieve array of errors Description
array libxml_get_errors
( void
)
Retrieve array of errors. Return ValuesReturns an array with LibXMLError objects if there are any errors in the buffer, or an empty array otherwise. Examples
Example #1 A libxml_get_errors example This example demonstrates how to build a simple libxml error handler.
<?php The above example will output: <titles>PHP: Behind the Parser</title> ----------------------------------------------^ Fatal Error 76: Opening and ending tag mismatch: titles line 4 and title Line: 4 Column: 46 -------------------------------------------- See Also
|