3v4l.org

run code in 300+ PHP versions simultaneously
<?php function a($str1,$str2){ $d = $str1*3 + $str2*2; return $d; } for($count1 = 0; $count1 < 3; $count1++){ for($count2 = 0; $count2 < 3; $count2++){ $array[$count1][$count2] = a($count1,$count2); echo $array[$count1][$count2]." "; } } ?>
Output for git.master, git.master_jit, rfc.property-hooks
0 2 4 3 5 7 6 8 10

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