PHP » GoLang |
login |
register |
about
|
GoLang libxml_get_errors
request it (442)
GoLang replacement for PHP's libxml_get_errors
[edit | history]
libxml_get_errors(PHP 5 >= 5.1.0, PHP 7) libxml_get_errors — Retrieve 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
|
more
Recently updated
more
Most requested
more
Last requests
|