3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ (object) ['ID' => 1, 'name' => 'Mary Jane', 'count' => '420'], (object) ['ID' => 2, 'name' => 'Johnny', 'count' => '23420'], (object) ['ID' => 3, 'name' => 'Kathy', 'count' => '4354'], ]; $property = 'count'; array_multisort(array_column($array, $property), $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.3.130.0000.00818.51
8.3.120.0090.00018.87
8.3.110.0030.00620.94
8.3.100.0130.00616.48
8.3.90.0050.00326.77
8.3.80.0030.00618.31
8.3.70.0190.00316.63
8.3.60.0090.00618.38
8.3.50.0110.00718.55
8.3.40.0140.00718.71
8.3.30.0110.01021.54
8.3.20.0040.00424.18
8.3.10.0080.00024.66
8.3.00.0070.00026.16
8.2.250.0130.00420.28
8.2.240.0090.00017.20
8.2.230.0030.00622.58
8.2.220.0100.01037.54
8.2.210.0160.00326.77
8.2.200.0060.00318.41
8.2.190.0110.01116.63
8.2.180.0060.01625.92
8.2.170.0060.01319.02
8.2.160.0030.01222.96
8.2.150.0070.00725.66
8.2.140.0040.00424.66
8.2.130.0000.00826.16
8.2.120.0000.00820.93
8.2.110.0030.00621.07
8.2.100.0070.00420.54
8.2.90.0090.00017.88
8.2.80.0040.00419.14
8.2.70.0040.00417.93
8.2.60.0030.00617.50
8.2.50.0080.00017.61
8.2.40.0050.00317.75
8.2.30.0050.00218.14
8.2.20.0040.00420.39
8.2.10.0050.00318.05
8.2.00.0000.00719.23
8.1.300.0100.01018.71
8.1.290.0030.00630.84
8.1.280.0120.00325.92
8.1.270.0050.00323.99
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00320.97
8.1.230.0080.00419.09
8.1.220.0060.00317.74
8.1.210.0000.00818.77
8.1.200.0030.00517.36
8.1.190.0000.00817.53
8.1.180.0030.00619.01
8.1.170.0050.00317.62
8.1.160.0000.00720.58
8.1.150.0000.00718.54
8.1.140.0030.00617.45
8.1.130.0000.00817.46
8.1.120.0060.00717.37
8.1.110.0080.00417.44
8.1.100.0090.00217.33
8.1.90.0070.00517.38
8.1.80.0060.00617.42
8.1.70.0100.00617.40
8.1.60.0090.00717.51
8.1.50.0120.00517.45
8.1.40.0130.00517.36
8.1.30.0130.00517.54
8.1.20.0090.00917.59
8.1.10.0090.01017.40
8.1.00.0140.00917.36
8.0.300.0040.00421.42
8.0.290.0040.00416.75
8.0.280.0030.00318.46
8.0.270.0030.00316.95
8.0.260.0000.00616.90
8.0.250.0070.00417.01
8.0.240.0080.00317.00
8.0.230.0070.00417.04
8.0.220.0040.00716.91
8.0.210.0060.00616.93
8.0.200.0110.00417.00
8.0.190.0050.00616.91
8.0.180.0060.00516.96
8.0.170.0040.00716.87
8.0.160.0120.00016.92
8.0.150.0100.00416.66
8.0.140.0090.00516.83
8.0.130.0120.00316.80
8.0.120.0090.00616.89
8.0.110.0100.00516.93
8.0.100.0120.00216.86
8.0.90.0110.00416.94
8.0.80.0160.00016.88
8.0.70.0070.00916.91
8.0.60.0120.00416.79
8.0.50.0110.00516.85
8.0.30.0110.00516.88
8.0.20.0110.00416.94
8.0.10.0090.00616.88
7.4.330.0050.00315.55
7.4.320.0020.00516.52
7.4.300.0120.00516.48
7.4.290.0100.00616.45
7.4.280.0100.00516.47
7.4.270.0110.00416.51
7.4.260.0110.00516.41
7.4.250.0130.00316.38
7.4.240.0150.00016.50
7.4.230.0170.00016.46
7.4.220.0110.00416.51
7.4.210.0110.00216.46
7.4.200.0100.00416.43
7.4.190.0080.00516.43
7.4.180.0080.00316.49
7.4.160.0100.00216.22
7.4.150.0050.00816.36
7.4.140.0090.00216.32
7.4.130.0100.00216.28
7.4.120.0090.00316.34
7.4.110.0040.00616.14
7.4.100.0050.00716.29
7.4.90.0050.00816.06
7.4.80.0060.00416.30
7.4.70.0030.00616.30
7.4.60.0080.00316.31
7.4.50.0130.00016.08
7.4.40.0100.00216.20
7.4.30.0070.00416.38
7.4.20.0030.00716.29
7.4.10.0070.00316.20
7.4.00.0050.00416.25
7.3.00.0060.00619.10
5.5.380.0110.00822.96

preferences:
26.55 ms | 403 KiB | 5 Q