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]." "; } }*/ $array[0][0] = 2; $array[0][1] = 9; $array[0][2] = 3; $array[1][0] = 8; $array[1][1] = 18; $array[1][2] = 4; $array[2][0] = 20; $array[2][1] = 1; $array[2][2] = 6; echo max(array_keys($array[1])); ?>
Output for git.master, git.master_jit, rfc.property-hooks
2

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