3v4l.org

run code in 300+ PHP versions simultaneously
<?php $b= 1; $k =0 ; for($i=1; $i<=5; $i++) { echo "Data ".$i." To user ".$b."<br>\n"; if($b == 2 && $k == 1) { $b--; } else { if($b == 2) $k++; if($b == 1) $b++; } }
Output for git.master, git.master_jit, rfc.property-hooks
Data 1 To user 1<br> Data 2 To user 2<br> Data 3 To user 2<br> Data 4 To user 1<br> Data 5 To user 2<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:
40.66 ms | 401 KiB | 8 Q