<?php libxml_set_external_entity_loader(function ($public_id, $system_id, $context) { var_dump($public_id, $system_id, $context); return "other"; }); $doc = new DOMDocument; $doc->loadHTMLFile("foobar");
You have javascript disabled. You will not be able to edit any code.