3v4l.org

run code in 300+ PHP versions simultaneously
<?php function g($x=0){static$s='g';return $x?[$z=$s.$x,$s='g',$z][2]:[$s.='o',function($y=0){return g($y);}][1];} // g()('al'); $x=g();echo $x('al'); echo PHP_EOL; $x=g();$x=$x();echo $x('al'); /* echo g('al') , PHP_EOL; echo g()('al') , PHP_EOL; echo g()()('al') , PHP_EOL; echo g()()()('al') , PHP_EOL; */
Output for git.master, git.master_jit, rfc.property-hooks
goal gooal

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