3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = <<<XML <?xml version="1.0"?> <config> <a>test</a> </other> XML; libxml_use_internal_errors(true); echo 'LOAD INVALID XML STRING' . PHP_EOL; $simpleXML = simplexml_load_string($xml); echo 'DETECTED ERROR:' . PHP_EOL; var_dump(libxml_get_errors());
Output for git.master_jit, git.master, rfc.property-hooks
LOAD INVALID XML STRING DETECTED ERROR: array(1) { [0]=> object(LibXMLError)#1 (6) { ["level"]=> int(3) ["code"]=> int(76) ["column"]=> int(9) ["message"]=> string(57) "Opening and ending tag mismatch: config line 2 and other " ["file"]=> string(0) "" ["line"]=> int(4) } }

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:
60.58 ms | 402 KiB | 8 Q