3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ 'team1' => [ 'points' => 10, 'players' => [], ], 'team2' => [ 'points' => 23, 'players' => [] ] ]; array_multisort(array_column($array, 'points'), SORT_DESC, $array); 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.00.0120.01019.96
8.4.150.0030.00014.05
8.4.140.0080.01217.43
8.4.130.0060.00317.64
8.4.120.0110.00920.65
8.4.110.0130.00720.61
8.4.100.0120.00717.57
8.4.90.0120.01017.60
8.4.80.0080.00118.36
8.4.70.0090.00717.93
8.4.60.0130.00918.48
8.4.50.0110.00825.90
8.4.40.0150.00320.43
8.4.30.0030.00620.50
8.4.20.0060.01319.50
8.4.10.0030.00623.79
8.3.280.0130.00918.21
8.3.270.0180.00616.41
8.3.260.0120.00716.33
8.3.250.0110.00918.76
8.3.240.0120.00716.48
8.3.230.0140.00516.34
8.3.220.0120.00718.89
8.3.210.0100.00816.41
8.3.200.0040.00516.53
8.3.190.0110.00716.90
8.3.180.0120.00616.37
8.3.170.0070.01117.14
8.3.160.0100.00018.20
8.3.150.0070.01116.48
8.3.140.0050.00318.81
8.3.130.0080.00018.20
8.3.120.0000.00818.83
8.3.110.0040.00416.75
8.3.100.0060.00316.67
8.3.90.0110.00719.99
8.3.80.0060.00618.31
8.3.70.0070.00718.18
8.3.60.0140.00018.03
8.3.50.0110.00716.46
8.3.40.0070.01420.22
8.3.30.0140.00018.37
8.3.20.0040.00424.92
8.3.10.0070.00125.16
8.3.00.0060.00325.91
8.2.290.0040.00420.26
8.2.280.0120.00818.41
8.2.270.0160.00318.82
8.2.260.0000.00817.16
8.2.250.0000.00816.45
8.2.240.0070.00316.41
8.2.230.0060.00320.94
8.2.220.0060.00324.06
8.2.210.0040.01526.77
8.2.200.0060.00318.16
8.2.190.0070.00718.11
8.2.180.0150.00616.50
8.2.170.0140.00018.96
8.2.160.0130.00322.96
8.2.150.0060.00125.66
8.2.140.0030.00525.16
8.2.130.0060.00325.91
8.2.120.0070.00122.66
8.2.110.0090.00023.29
8.2.100.0060.00421.69
8.2.90.0060.00322.38
8.2.80.0060.00221.82
8.2.70.0070.00121.52
8.2.60.0040.00421.73
8.2.50.0030.00521.88
8.2.40.0030.00523.04
8.2.30.0080.00522.09
8.2.20.0110.00322.02
8.2.10.0080.00422.09
8.2.00.0120.00022.11
8.1.330.0120.00718.21
8.1.320.0130.00616.02
8.1.310.0070.00016.37
8.1.300.0100.01016.16
8.1.290.0000.00918.88
8.1.280.0110.00325.92
8.1.270.0020.00625.16
8.1.260.0040.00326.01
8.1.250.0090.00326.88
8.1.240.0060.00324.16
8.1.230.0040.00621.68
8.1.220.0040.00521.70
8.1.210.0060.00322.22
8.1.200.0060.00321.44
8.1.190.0050.00521.38
8.1.180.0020.00621.88
8.1.170.0090.00321.92
8.1.160.0060.00721.95
8.1.150.0140.00021.90
8.1.140.0090.00321.96
8.1.130.0090.00421.97
8.1.120.0080.00522.05
8.1.110.0080.00522.11
8.1.100.0100.00422.02
8.1.90.0070.00622.00
8.1.80.0070.00621.96
8.1.70.0070.00621.90
8.1.60.0100.00322.06
8.1.50.0080.00522.06
8.1.40.0120.00221.97
8.1.30.0130.00122.11
8.1.20.0120.00221.95
8.1.10.0110.00221.89
8.1.00.0090.00721.96
8.0.300.0050.00322.22
8.0.290.0070.00521.12
8.0.280.0150.00021.68
8.0.270.0100.00321.64
8.0.260.0070.00821.71
8.0.250.0080.00421.64
8.0.240.0120.00321.71
8.0.230.0140.00321.66
8.0.220.0090.00621.64
8.0.210.0110.00521.64
8.0.200.0070.00621.64
8.0.190.0120.00421.78
8.0.180.0110.00221.69
8.0.170.0120.00421.64
8.0.160.0060.00621.74
8.0.150.0120.00421.64
8.0.140.0100.00621.66
8.0.130.0090.00621.64
8.0.120.0100.00721.64
8.0.110.0120.00121.64
8.0.100.0070.00721.64
8.0.90.0160.00221.64
8.0.80.0100.00321.64
8.0.70.0090.00321.64
8.0.60.0110.00421.65
8.0.50.0110.00421.64
8.0.30.0080.00521.64
8.0.20.0100.00321.64
8.0.10.0110.00521.64

preferences:
40.66 ms | 403 KiB | 5 Q