3v4l.org

run code in 300+ PHP versions simultaneously
<?php $unresponsives = [ [ "Customer", "172.52.46.75", "2022-04-01 16:20:45", "1817", "nxlog", "2328.02 Hours" ], [ "Customer", "172.25.89.45", "2022-04-01 16:20:45", "1817", "nxlog", "Undefined" ], [ "Customer", "172.19.10.94", "2022-04-01 16:20:45", "1817", "nxlog", "324.02 Hours" ], [ "Customer", "172.19.10.94", "2022-04-01 16:20:45", "1817", "nxlog", "2322.02 Hours" ], [ "Customer", "172.19.10.94", "2022-04-01 16:20:45", "1817", "nxlog", "Undefined" ], ]; usort( $unresponsives, fn($a, $b) => [$b[5] === 'Undefined', (float) $b[5]] <=> [$a[5] === 'Undefined', (float) $a[5]] ); var_export($unresponsives);
Output for git.master, git.master_jit, rfc.property-hooks
array ( 0 => array ( 0 => 'Customer', 1 => '172.25.89.45', 2 => '2022-04-01 16:20:45', 3 => '1817', 4 => 'nxlog', 5 => 'Undefined', ), 1 => array ( 0 => 'Customer', 1 => '172.19.10.94', 2 => '2022-04-01 16:20:45', 3 => '1817', 4 => 'nxlog', 5 => 'Undefined', ), 2 => array ( 0 => 'Customer', 1 => '172.52.46.75', 2 => '2022-04-01 16:20:45', 3 => '1817', 4 => 'nxlog', 5 => '2328.02 Hours', ), 3 => array ( 0 => 'Customer', 1 => '172.19.10.94', 2 => '2022-04-01 16:20:45', 3 => '1817', 4 => 'nxlog', 5 => '2322.02 Hours', ), 4 => array ( 0 => 'Customer', 1 => '172.19.10.94', 2 => '2022-04-01 16:20:45', 3 => '1817', 4 => 'nxlog', 5 => '324.02 Hours', ), )

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.63 ms | 407 KiB | 5 Q