3v4l.org

run code in 300+ PHP versions simultaneously
<?php $citylist = array( "Black Canyon City", "Chandler", "Flagstaff", "Gilbert", "Glendale", "Globe", "Mesa", "Miami", "Phoenix", "Peoria", "Prescott", "Scottsdale", "Sun City", "Surprise", "Tempe", "Tucson", "Wickenburg" ); print_r( array_chunk($citylist, 3));
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => Array ( [0] => Black Canyon City [1] => Chandler [2] => Flagstaff ) [1] => Array ( [0] => Gilbert [1] => Glendale [2] => Globe ) [2] => Array ( [0] => Mesa [1] => Miami [2] => Phoenix ) [3] => Array ( [0] => Peoria [1] => Prescott [2] => Scottsdale ) [4] => Array ( [0] => Sun City [1] => Surprise [2] => Tempe ) [5] => Array ( [0] => Tucson [1] => Wickenburg ) )

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