libxml_get_errorsRetrieve array of errors Beschreibung
array libxml_get_errors
( void
)
Retrieve array of errors. RückgabewerteReturns an array with LibXMLError objects if there are any errors in the buffer, or an empty array otherwise. Beispiele
Beispiel #1 A libxml_get_errors example This example demonstrates how to build a simple libxml error handler.
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe: <titles>PHP: Behind the Parser</title> ----------------------------------------------^ Fatal Error 76: Opening and ending tag mismatch: titles line 4 and title Line: 4 Column: 46 -------------------------------------------- Siehe auch
|