3v4l.org

run code in 300+ PHP versions simultaneously
<?php for($i = $x = $z = 1; $i <= 10;$i++,$x+=2,$z=&$p){ $p = $i + $x; print "\$i = $i , \$x = $x , \$z = $z <br />"; }
Output for git.master, git.master_jit, rfc.property-hooks
$i = 1 , $x = 1 , $z = 1 <br />$i = 2 , $x = 3 , $z = 5 <br />$i = 3 , $x = 5 , $z = 8 <br />$i = 4 , $x = 7 , $z = 11 <br />$i = 5 , $x = 9 , $z = 14 <br />$i = 6 , $x = 11 , $z = 17 <br />$i = 7 , $x = 13 , $z = 20 <br />$i = 8 , $x = 15 , $z = 23 <br />$i = 9 , $x = 17 , $z = 26 <br />$i = 10 , $x = 19 , $z = 29 <br />

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