3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = [ [ 20190529 => [ 30 => [ 17 => [ 3846 => 0, ], ], ], ], [ 20190516 => [ 31 => [ 17 => [ 512 => 0, ], ], ], ], ]; $keys = []; foreach($arr as $k => $item){ $keys[] = key($item); } array_multisort($keys, SORT_NATURAL, $arr); print_r($arr);die;
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => Array ( [20190516] => Array ( [31] => Array ( [17] => Array ( [512] => 0 ) ) ) ) [1] => Array ( [20190529] => Array ( [30] => Array ( [17] => Array ( [3846] => 0 ) ) ) ) )

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:
33.03 ms | 407 KiB | 5 Q