PHP 8.5.0 Alpha 4 available for testing

Voting

: max(five, one)?
(Example: nine)

The Note You're Voting On

onemanbanddan at gmail dot com
11 years ago
The options for surpressing errors and warnings will not work with this as they do for loadXML()
e.g.
<?php
$doc
->loadHTMLFile($file, LIBXML_NOWARNING | LIBXML_NOERROR);
?>
will not work.
you must use:
<?php
libxml_use_internal_errors
(true);
$doc->loadHTMLFile($file);
?>
and handle the exceptions as neccesarry.

<< Back to user notes page

To Top