3v4l.org

run code in 300+ PHP versions simultaneously
<?php //Enter your code here, enjoy! $xml = simplexml_load_string("<div>444444444444<a href=\"https://zupa.com?a=1&b=2\">test</a>33333333</div>", "SimpleXMLElement", LIBXML_NOWARNING | LIBXML_NOERROR); $xmlOutput = dom_import_simplexml($xml); $xmlOutput = $xmlOutput->ownerDocument->saveXML($xmlOutput->ownerDocument->documentElement); echo $xmlOutput; echo "11111";
Output for rfc.property-hooks
Fatal error: Uncaught TypeError: dom_import_simplexml(): Argument #1 ($node) must be of type object, false given in /in/EDULB:6 Stack trace: #0 /in/EDULB(6): dom_import_simplexml(false) #1 {main} thrown in /in/EDULB on line 6
Process exited with code 255.
Output for git.master, git.master_jit
Fatal error: Uncaught TypeError: dom_import_simplexml(): Argument #1 ($node) must be of type object, bool given in /in/EDULB:6 Stack trace: #0 /in/EDULB(6): dom_import_simplexml(false) #1 {main} thrown in /in/EDULB on line 6
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:
63.02 ms | 2784 KiB | 4 Q