3v4l.org

run code in 300+ PHP versions simultaneously
<?php $doc = new DomDocument; $doc->validateOnParse = true; $doc->loadXML ( '<?xml version="1.0" encoding="UTF-8"?> <root> <form id="testform1"> <input type="submit" /> </form> </root> ' ); // the getElementById is important! if ($doc->getElementById('testform1') === null) { throw new Exception('Failed'); }
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Exception: Failed in /in/gNRqa:20 Stack trace: #0 {main} thrown in /in/gNRqa on line 20
Process exited with code 255.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
35.18 ms | 401 KiB | 8 Q