3v4l.org

run code in 300+ PHP versions simultaneously
<?php $col = 0; foreach (range(1,100) as $num) { echo $num; if (++$col == 2) { $col = 0; echo "\n"; } }
Output for git.master, git.master_jit, rfc.property-hooks
12 34 56 78 910 1112 1314 1516 1718 1920 2122 2324 2526 2728 2930 3132 3334 3536 3738 3940 4142 4344 4546 4748 4950 5152 5354 5556 5758 5960 6162 6364 6566 6768 6970 7172 7374 7576 7778 7980 8182 8384 8586 8788 8990 9192 9394 9596 9798 99100

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