3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump((string) new Exception(get_class(new class extends stdclass {}) . " failed"));
Output for git.master, git.master_jit
string(67) "Exception: stdclass@anonymous in /in/e9AGZ:3 Stack trace: #0 {main}"
Output for rfc.property-hooks
string(88) "Exception: stdclass@anonymous/in/e9AGZ:3$0 failed in /in/e9AGZ:3 Stack trace: #0 {main}"

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:
55.31 ms | 401 KiB | 8 Q