3v4l.org

run code in 150+ 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 - 5.6.28, 7.0.0 - 7.1.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 hhvm-3.10.0 - 3.12.0
Warning: ParsePI: PI php never end ... in Entity, line: 10 Warning: Start tag expected, '<' not found in Entity, 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