3v4l.org

run code in 500+ PHP versions simultaneously
<?php $array=[ '2 16 10 4 0 0 0 0 0', '0 0 0 4', '2 15 8 6 0 0 0 0 0', '0 0 0 3', '3 18 12 5 0 0 0 0 0', '0 0 0 2' ]; $pairs=array_chunk(preg_replace('/\s+/',' ',$array),2); foreach($pairs as $pair){ $result[]="{$pair[0]} {$pair[1]}"; } var_export($result);
Output for git.master, git.master_jit, rfc.property-hooks
array ( 0 => '2 16 10 4 0 0 0 0 0 0 0 0 4', 1 => '2 15 8 6 0 0 0 0 0 0 0 0 3', 2 => '3 18 12 5 0 0 0 0 0 0 0 0 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:
48.12 ms | 1439 KiB | 4 Q