3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $dom = new DomDocument; $dom->load("programmes.xml");
Output for 5.2.3 - 7.1.0
Warning: DOMDocument::load(): I/O warning : failed to load external entity "/programmes.xml" in /in/kMpe7 on line 4
Output for 5.1.0 - 5.2.2
Warning: DOMDocument::load(): I/O warning : failed to load external entity "/in/programmes.xml" in /in/kMpe7 on line 4
Output for 5.0.0 - 5.0.5
Warning: I/O warning : failed to load external entity "/in/programmes.xml" in /in/kMpe7 on line 4
Output for 4.3.2 - 4.4.9
Fatal error: Cannot instantiate non-existent class: domdocument in /in/kMpe7 on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Cannot instantiate non-existent class: domdocument in /in/kMpe7 on line 3