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\n34\n56\n78\n910\n1112\n1314\n1516\n1718\n1920\n2122\n2324\n2526\n2728\n2930\n3132\n3334\n3536\n3738\n3940\n4142\n4344\n4546\n4748\n4950\n5152\n5354\n5556\n5758\n5960\n6162\n6364\n6566\n6768\n6970\n7172\n7374\n7576\n7778\n7980\n8182\n8384\n8586\n8788\n8990\n9192\n9394\n9596\n9798\n99100\n

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:
29.32 ms | 402 KiB | 8 Q