3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = [ 'children' => [ 'default.php' => [], 'test.php' => [], 'test.bak' => [], 'default-2.php' => [], 'align-2.php' => [], 'align.tmp' => [], ] ]; uksort($arr['children'], function($a, $b){ $a = pathinfo($a); $b = pathinfo($b); return $a['filename'] == $b['filename'] ? $a['basename'] <=> $b['basename'] : $a['filename'] <=> $b['filename']; }); print_r(array_keys($arr['children']));
Output for git.master_jit, git.master, rfc.property-hooks
Array ( [0] => align.tmp [1] => align-2.php [2] => default.php [3] => default-2.php [4] => test.bak [5] => test.php )

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