3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array ( 0 => array ( 'name' => 'Вася', 'start' => '11.12', 'end' => '15.12', ), 1 => array ( 'name' => 'Петя', 'start' => '08.11', 'end' => '10.12', ), 2 => array ( 'name' => 'Иван', 'start' => '26.11', 'end' => '29.12', ), ); usort($arr, fn($a, $b) => ($a['end'] >= $b['end']) ? -1 : 1); print_r($arr);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => Array ( [name] => Иван [start] => 26.11 [end] => 29.12 ) [1] => Array ( [name] => Вася [start] => 11.12 [end] => 15.12 ) [2] => Array ( [name] => Петя [start] => 08.11 [end] => 10.12 ) )

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