3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = [ ['company' => 'A', 'weight' => 4.6], ['company' => 'B', 'weight' => 1.7], ['company' => 'C', 'weight' => 3.7], ['company' => 'D', 'weight' => 13.2], ['company' => 'E', 'weight' => 1.85], ['company' => 'F', 'weight' => 2.07], ]; array_multisort(array_column($arr, 'weight'), SORT_DESC, $arr); var_export($arr);

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.10.0060.00220.32
8.5.00.0120.00919.96
8.4.150.0020.00014.05
8.4.140.0130.00917.48
8.4.130.0110.00917.91
8.4.120.0130.00720.39
8.4.110.0120.00622.23
8.4.100.0040.00617.71
8.4.90.0130.00918.68
8.4.80.0100.01017.65
8.4.70.0090.00917.69
8.4.60.0130.00918.76
8.4.50.0030.00619.25
8.4.40.0100.01019.31
8.4.30.0060.01320.38
8.4.20.0100.01019.54
8.4.10.0080.01123.77
8.3.280.0100.01018.30
8.3.270.0130.00616.66
8.3.260.0040.00416.62
8.3.250.0050.00318.70
8.3.240.0130.00616.79
8.3.230.0130.00616.52
8.3.220.0120.00717.29
8.3.210.0130.00716.59
8.3.200.0060.00316.32
8.3.190.0090.00917.00
8.3.180.0110.00816.49
8.3.170.0060.01218.84
8.3.160.0130.00718.38
8.3.150.0100.01018.94
8.3.140.0180.00016.43
8.3.130.0070.01418.12
8.3.120.0120.00020.70
8.3.110.0050.00320.94
8.3.100.0030.00618.29
8.3.90.0040.01126.77
8.3.80.0000.01017.97
8.3.70.0090.01216.61
8.3.60.0050.01418.40
8.3.50.0120.00316.69
8.3.40.0070.00720.29
8.3.30.0040.01118.67
8.3.20.0050.00824.18
8.3.10.0080.00024.66
8.3.00.0130.00326.16
8.2.290.0100.00820.08
8.2.280.0110.00720.13
8.2.270.0090.00920.59
8.2.260.0110.00717.21
8.2.250.0000.00817.07
8.2.240.0060.00318.72
8.2.230.0080.00022.58
8.2.220.0040.00424.06
8.2.210.0040.00426.77
8.2.200.0080.00018.29
8.2.190.0040.01116.58
8.2.180.0000.01516.63
8.2.170.0070.01122.96
8.2.160.0110.00422.96
8.2.150.0040.00425.66
8.2.140.0070.00324.66
8.2.130.0040.00426.16
8.2.120.0040.00426.16
8.2.110.0030.00621.00
8.2.100.0090.00319.79
8.2.90.0080.00018.94
8.2.80.0080.00017.97
8.2.70.0000.00817.63
8.2.60.0000.00817.91
8.2.50.0000.00818.07
8.2.40.0040.00418.16
8.2.30.0000.00717.93
8.2.20.0110.00617.50
8.2.10.0100.00517.67
8.2.00.0060.00617.58
8.1.330.0100.00821.66
8.1.320.0130.00716.12
8.1.310.0110.00716.73
8.1.300.0070.00317.94
8.1.290.0040.00430.84
8.1.280.0040.01125.92
8.1.270.0150.00024.66
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0100.00724.01
8.1.230.0070.00417.77
8.1.220.0030.00617.74
8.1.210.0050.00318.77
8.1.200.0000.00817.10
8.1.190.0000.00917.22
8.1.180.0090.00318.10
8.1.170.0000.00818.50
8.1.160.0050.00218.74
8.1.150.0080.00317.32
8.1.140.0070.00517.42
8.1.130.0120.00417.46
8.1.120.0170.00017.45
8.1.110.0110.00517.47
8.1.100.0160.00017.45
8.1.90.0100.00717.36
8.1.80.0090.00417.37
8.1.70.0090.00517.44
8.1.60.0190.00017.59
8.1.50.0080.00817.42
8.1.40.0150.00017.63
8.1.30.0140.00317.54
8.1.20.0060.01217.58
8.1.10.0130.00317.51
8.1.00.0130.00617.56
8.0.300.0040.00418.77
8.0.290.0030.00516.63
8.0.280.0000.00718.35
8.0.270.0100.00316.82
8.0.260.0100.00516.82
8.0.250.0100.00516.82
8.0.240.0130.00416.82
8.0.230.0110.00516.82
8.0.220.0070.00716.82
8.0.210.0040.00816.82
8.0.200.0140.00016.82
8.0.190.0080.00316.82
8.0.180.0030.00616.82
8.0.170.0100.00016.82
8.0.160.0150.00016.82
8.0.150.0060.00616.82
8.0.140.0160.00016.82
8.0.130.0100.00716.82
8.0.120.0140.00316.82
8.0.110.0120.00316.82
8.0.100.0110.00416.82
8.0.90.0100.00516.82
8.0.80.0090.00616.82
8.0.70.0170.00016.82
8.0.60.0080.00616.82
8.0.50.0150.00016.82
8.0.30.0150.00016.82
8.0.20.0150.00016.84
8.0.10.0150.00016.96
5.6.400.0090.00216.52
5.6.60.0180.00916.70

preferences:
35.63 ms | 403 KiB | 5 Q