3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ [ 'Property' => [ 'id' => 10, 'member_id' => 2, 'ref_no' => 333, ], ], [ 'Property' => [ 'id' => 16, 'member_id' => 4, 'ref_no' => 509, ], ], ]; usort($array, fn($a, $b) => $b['Property']['ref_no'] <=> $a['Property']['ref_no']); var_export($array);

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.5.30.0080.01019.64
8.5.20.0080.00920.23
8.5.10.0040.00416.88
8.5.00.0140.00919.75
8.4.180.0160.00619.69
8.4.170.0140.00723.75
8.4.160.0140.00823.80
8.4.150.0110.00416.85
8.4.140.0120.00917.83
8.4.130.0100.00918.00
8.4.120.0120.00820.52
8.4.110.0050.00420.66
8.4.100.0050.00417.69
8.4.90.0120.00820.63
8.4.80.0070.00118.85
8.4.70.0110.01120.39
8.4.60.0150.00720.21
8.4.50.0110.00718.82
8.4.40.0060.01317.65
8.4.30.0090.01219.41
8.4.20.0380.01217.40
8.4.10.0440.00417.45
8.3.300.0100.00920.82
8.3.290.0130.00818.34
8.3.280.0130.00718.51
8.3.270.0120.00716.71
8.3.260.0070.00216.43
8.3.250.0100.00718.99
8.3.240.0110.00916.77
8.3.230.0070.00318.19
8.3.220.0040.00418.98
8.3.210.0070.00616.70
8.3.200.0060.00616.61
8.3.190.0040.00517.08
8.3.180.0090.00518.85
8.3.170.0030.01017.07
8.3.160.0350.01016.60
8.3.150.0410.00616.37
8.3.140.0320.01216.51
8.3.130.0330.00816.46
8.3.120.0300.01716.44
8.3.110.0340.00616.48
8.3.100.0390.00716.61
8.3.90.0330.00916.59
8.3.80.0380.00716.39
8.3.70.0360.00916.44
8.3.60.0330.01516.34
8.3.50.0340.00316.22
8.3.40.0380.00317.29
8.3.30.0300.00617.49
8.3.20.0300.00917.45
8.3.10.0330.00717.23
8.3.00.0110.01117.35
8.2.300.0110.00918.96
8.2.290.0070.00916.82
8.2.280.0050.01019.99
8.2.270.0380.00016.65
8.2.260.0290.00916.34
8.2.250.0320.00716.26
8.2.240.0400.00416.34
8.2.230.0310.00816.45
8.2.220.0260.01316.37
8.2.210.0290.01016.22
8.2.200.0330.00716.29
8.2.190.0350.00416.48
8.2.180.0320.00616.38
8.2.170.0380.00417.69
8.2.160.0280.00417.78
8.2.150.0270.00017.47
8.2.140.0320.00417.51
8.2.130.0340.00617.52
8.2.120.0320.00917.36
8.2.110.0270.01917.62
8.2.100.0260.01317.40
8.2.90.0310.01417.46
8.2.80.0320.01217.38
8.2.70.0340.01117.48
8.2.60.0340.00317.46
8.2.50.0360.00317.48
8.2.40.0330.00417.48
8.2.30.0290.00717.57
8.2.20.0270.00917.44
8.2.10.0240.01217.64
8.2.00.0250.01017.55
8.1.340.0090.01017.52
8.1.320.0120.00717.82

preferences:
56.35 ms | 868 KiB | 5 Q