3v4l.org

run code in 300+ PHP versions simultaneously
<?php $largegroups = ['','','','']; $c = 0; foreach ($largegroups as $key => $users) { // loops 4 times for ($i = 1; $i <= 4; $i++) { ++$c; $c = str_pad($c, 2, '0', STR_PAD_LEFT); echo "\n".$groupname = 'Group ' . $c; } }
Output for git.master, git.master_jit, rfc.property-hooks
Group 01 Group 02 Group 03 Group 04 Group 05 Group 06 Group 07 Group 08 Group 09 Group 10 Group 11 Group 12 Group 13 Group 14 Group 15 Group 16

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:
121.81 ms | 405 KiB | 5 Q