3v4l.org

run code in 300+ PHP versions simultaneously
<?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);

preferences:
41.97 ms | 402 KiB | 5 Q