I'm experiencing a weird issue where errors are not being displayed when there are obvious errors.
This throws an error as expected:
<?php
ini_set('display_errors',1);
ini_set('display_startup_errors',1);
error_reporting(E_ALL);
hurrrrr
?>
However, this does not and just returns a blank page...
<?php
ini_set('display_errors',1);
ini_set('display_startup_errors',1);
error_reporting(E_ALL);
HUUURRRR
include('../includes/simple_html_dom.php');
$html = file_get_html('www.hurrrr.com');
foreach($html->find('.Hurrrrrrr') as $element) {
echo $element->plaintext . '<br />';
}
?>