3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = new Exception('hi'); echo $a; var_dump(serialize($a));
Output for git.master, git.master_jit, rfc.property-hooks
Exception: hi in /in/WJhZs:2 Stack trace: #0 {main}string(256) "O:9:"Exception":7:{s:10:"*message";s:2:"hi";s:17:"Exceptionstring";s:51:"Exception: hi in /in/WJhZs:2 Stack trace: #0 {main}";s:7:"*code";i:0;s:7:"*file";s:9:"/in/WJhZs";s:7:"*line";i:2;s:16:"Exceptiontrace";a:0:{}s:19:"Exceptionprevious";N;}"

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