3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $filename = __FILE__; libxml_disable_entity_loader(true); $reader = new XMLReader(); $reader->open($filename); libxml_disable_entity_loader(true); $dom = new DOMDocument(); $dom->load($filename);
Output for 5.2.11 - 7.2.0
Warning: XMLReader::open(): Unable to open source data in /in/VAfOB on line 6 Warning: DOMDocument::load(): I/O warning : failed to load external entity "/in/VAfOB" in /in/VAfOB on line 10
Output for 5.0.0 - 5.2.10
Fatal error: Call to undefined function libxml_disable_entity_loader() in /in/VAfOB on line 4
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: libxml_disable_entity_loader() in /in/VAfOB on line 4
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: libxml_disable_entity_loader() in /in/VAfOB on line 4
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: libxml_disable_entity_loader() in /in/VAfOB on line 4