3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = new Exception("hi\0ryat"); echo $a; var_dump(serialize($a));
Output for git.master, git.master_jit
Exception: hi in /in/oAGoK:2 Stack trace: #0 {main}string(261) "O:9:"Exception":7:{s:10:"*message";s:7:"hiryat";s:17:"Exceptionstring";s:51:"Exception: hi in /in/oAGoK:2 Stack trace: #0 {main}";s:7:"*code";i:0;s:7:"*file";s:9:"/in/oAGoK";s:7:"*line";i:2;s:16:"Exceptiontrace";a:0:{}s:19:"Exceptionprevious";N;}"
Output for rfc.property-hooks
Exception: hiryat in /in/oAGoK:2 Stack trace: #0 {main}string(266) "O:9:"Exception":7:{s:10:"*message";s:7:"hiryat";s:17:"Exceptionstring";s:56:"Exception: hiryat in /in/oAGoK:2 Stack trace: #0 {main}";s:7:"*code";i:0;s:7:"*file";s:9:"/in/oAGoK";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:
38.35 ms | 401 KiB | 8 Q