3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array_fill_keys( range(0, 10), range(0, 105, 7) ); array_walk($array, sort(...)); var_export($array);
Output for git.master_jit, git.master
array ( 0 => array ( 0 => 0, 1 => 7, 2 => 14, 3 => 21, 4 => 28, 5 => 35, 6 => 42, 7 => 49, 8 => 56, 9 => 63, 10 => 70, 11 => 77, 12 => 84, 13 => 91, 14 => 98, 15 => 105, ), 1 => array ( 0 => 0, 1 => 7, 2 => 14, 3 => 21, 4 => 28, 5 => 35, 6 => 42, 7 => 49, 8 => 56, 9 => 63, 10 => 70, 11 => 77, 12 => 84, 13 => 91, 14 => 98, 15 => 105, ), 2 => array ( 0 => 0, 1 => 105, 2 => 14, 3 => 21, 4 => 28, 5 => 35, 6 => 42, 7 => 49, 8 => 56, 9 => 63, 10 => 7, 11 => 70, 12 => 77, 13 => 84, 14 => 91, 15 => 98, ), 3 => array ( 0 => 0, 1 => 7, 2 => 14, 3 => 21, 4 => 28, 5 => 35, 6 => 42, 7 => 49, 8 => 56, 9 => 63, 10 => 70, 11 => 77, 12 => 84, 13 => 91, 14 => 98, 15 => 105, ), 4 => array ( 0 => 0, 1 => 7, 2 => 14, 3 => 21, 4 => 28, 5 => 35, 6 => 42, 7 => 49, 8 => 56, 9 => 63, 10 => 70, 11 => 77, 12 => 84, 13 => 91, 14 => 98, 15 => 105, ), 5 => array ( 0 => 0, 1 => 105, 2 => 14, 3 => 21, 4 => 28, 5 => 35, 6 => 42, 7 => 49, 8 => 56, 9 => 63, 10 => 7, 11 => 70, 12 => 77, 13 => 84, 14 => 91, 15 => 98, ), 6 => array ( 0 => 0, 1 => 7, 2 => 14, 3 => 21, 4 => 28, 5 => 35, 6 => 42, 7 => 49, 8 => 56, 9 => 63, 10 => 70, 11 => 77, 12 => 84, 13 => 91, 14 => 98, 15 => 105, ), 7 => array ( 0 => 0, 1 => 7, 2 => 14, 3 => 21, 4 => 28, 5 => 35, 6 => 42, 7 => 49, 8 => 56, 9 => 63, 10 => 70, 11 => 77, 12 => 84, 13 => 91, 14 => 98, 15 => 105, ), 8 => array ( 0 => 0, 1 => 7, 2 => 14, 3 => 21, 4 => 28, 5 => 35, 6 => 42, 7 => 49, 8 => 56, 9 => 63, 10 => 70, 11 => 77, 12 => 84, 13 => 91, 14 => 98, 15 => 105, ), 9 => array ( 0 => 0, 1 => 7, 2 => 14, 3 => 21, 4 => 28, 5 => 35, 6 => 42, 7 => 49, 8 => 56, 9 => 63, 10 => 70, 11 => 77, 12 => 84, 13 => 91, 14 => 98, 15 => 105, ), 10 => array ( 0 => 0, 1 => 105, 2 => 14, 3 => 21, 4 => 28, 5 => 35, 6 => 42, 7 => 49, 8 => 56, 9 => 63, 10 => 7, 11 => 70, 12 => 77, 13 => 84, 14 => 91, 15 => 98, ), )

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:
25.38 ms | 415 KiB | 5 Q