3v4l.org

run code in 300+ PHP versions simultaneously
<?php $user_scores = [ 82 => ['score' => 1, 'time' => 6.442], 34 => ['score' => 1, 'time' => 5.646], 66 => ['score' => 3, 'time' => 1.554], 7 => ['score' => 2, 'time' => 4.442], 99 => ['score' => 4, 'time' => 3.646], 55 => ['score' => 1, 'time' => 2.554] ]; uasort($user_scores, function($a, $b) { return [$b['score'], $a['time']] <=> [$a['score'], $b['time']]; }); var_export($user_scores);

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.4.20.0140.00719.55
8.4.10.0120.00619.68
8.3.150.0090.00918.41
8.3.140.0000.00917.05
8.3.130.0080.00018.39
8.3.120.0060.00318.89
8.3.110.0080.00020.94
8.3.100.0090.00024.06
8.3.90.0080.00026.77
8.3.80.0060.00318.18
8.3.70.0090.00618.55
8.3.60.0130.00916.63
8.3.50.0150.00923.74
8.3.40.0130.00318.51
8.3.30.0120.00318.50
8.3.20.0040.00420.77
8.3.10.0070.00021.92
8.3.00.0040.00421.89
8.2.270.0160.00317.03
8.2.260.0030.00716.62
8.2.250.0080.00016.72
8.2.240.0030.00617.14
8.2.230.0030.00622.58
8.2.220.0080.00037.54
8.2.210.0050.00226.77
8.2.200.0030.00616.38
8.2.190.0120.00916.58
8.2.180.0170.00316.75
8.2.170.0110.00722.96
8.2.160.0090.00620.52
8.2.150.0030.00624.18
8.2.140.0050.00224.66
8.2.130.0070.00026.16
8.2.120.0050.00221.12
8.2.110.0040.00419.20
8.2.100.0040.00817.91
8.2.90.0030.00617.94
8.2.80.0030.00618.03
8.2.70.0000.00817.63
8.2.60.0000.00817.63
8.2.50.0000.00717.63
8.2.40.0080.00019.20
8.2.30.0030.00618.12
8.2.20.0040.00418.04
8.2.10.0030.00619.38
8.2.00.0040.00419.30
8.1.310.0040.00418.34
8.1.300.0100.00718.02
8.1.290.0070.00330.84
8.1.280.0030.01025.92
8.1.270.0040.00420.88
8.1.260.0050.00326.35
8.1.250.0070.00028.09
8.1.240.0000.01023.96
8.1.230.0070.00418.99
8.1.220.0080.00017.79
8.1.210.0030.00618.97
8.1.200.0000.00817.35
8.1.190.0000.00817.22
8.1.180.0000.00818.10
8.1.170.0060.00317.62
8.1.160.0040.00418.88
8.1.150.0050.00320.61
8.1.140.0070.00020.62
8.1.130.0030.00320.19
8.1.120.0070.00017.39
8.1.110.0000.00717.48
8.1.100.0000.00917.34
8.1.90.0050.00317.46
8.1.80.0070.00017.43
8.1.70.0000.00717.45
8.1.60.0030.00617.46
8.1.50.0000.00817.58
8.1.40.0040.00417.55
8.1.30.0030.00617.59
8.1.20.0000.00917.68
8.1.10.0040.00417.57
8.1.00.0000.00817.40
8.0.300.0040.00420.07
8.0.290.0070.00016.75
8.0.280.0070.00018.44
8.0.270.0000.00717.99
8.0.260.0060.00019.98
8.0.250.0000.00716.94
8.0.240.0000.00716.96
8.0.230.0040.00416.82
8.0.220.0030.00316.75
8.0.210.0060.00316.79
8.0.200.0030.00316.81
8.0.190.0000.00716.97
8.0.180.0000.00716.79
8.0.170.0030.00516.89
8.0.160.0040.00416.88
8.0.150.0040.00416.89
8.0.140.0000.00816.85
8.0.130.0030.00313.28
8.0.120.0000.00716.85
8.0.110.0000.00716.84
8.0.100.0030.00316.83
8.0.90.0060.00316.71
8.0.80.0060.01016.77
8.0.70.0070.00016.84
8.0.60.0040.00416.95
8.0.50.0000.00716.84
8.0.30.0100.01016.93
8.0.20.0120.01016.94
8.0.10.0090.00917.00
8.0.00.0120.00716.89
7.4.330.0000.00516.82
7.4.320.0040.00416.58
7.4.300.0020.00516.50
7.4.290.0000.00816.51
7.4.280.0000.01016.49
7.4.270.0080.00016.52
7.4.260.0050.00013.14
7.4.250.0000.00716.56
7.4.240.0050.00316.51
7.4.230.0020.00516.43
7.4.220.0000.00716.39
7.4.210.0140.00716.64
7.4.200.0070.00016.63
7.4.160.0100.01316.60
7.4.150.0060.01516.54
7.4.140.0070.01316.49
7.4.130.0080.01316.52
7.4.120.0130.00516.63
7.4.110.0090.00716.59
7.4.100.0150.00516.60
7.4.90.0100.01016.44
7.4.80.0050.01117.88
7.4.70.0120.00816.41
7.4.60.0080.01016.46
7.4.50.0050.01016.39
7.4.40.0150.00516.46
7.4.30.0080.00816.47
7.4.20.0090.00616.56
7.4.10.0110.00615.64
7.4.00.0070.01215.63
7.3.330.0040.00416.30
7.3.320.0000.00513.30
7.3.310.0070.00016.29
7.3.300.0000.00716.17
7.3.290.0120.00216.24
7.3.280.0090.00616.24
7.3.270.0130.00616.23
7.3.260.0120.00916.15
7.3.250.0030.01516.24
7.3.240.0090.01116.32
7.3.230.0080.01016.31
7.3.220.0030.01716.20
7.3.210.0150.00316.24
7.3.200.0080.00816.25
7.3.190.0080.01316.25
7.3.180.0100.00816.25
7.3.170.0060.01116.24
7.3.160.0080.01116.32
7.3.150.0090.00616.24
7.3.140.0110.01116.22
7.3.130.0050.01215.34
7.3.120.0110.00415.35
7.3.110.0080.00915.36
7.3.100.0050.01015.47
7.3.90.0080.00815.56
7.3.80.0090.00515.41
7.3.70.0060.00815.50
7.3.60.0100.01115.59
7.3.50.0080.01415.63
7.3.40.0080.00715.59
7.3.30.0090.00915.60
7.3.20.0100.00615.66
7.3.10.0080.00715.65
7.3.00.0120.00715.61
7.2.340.0040.01716.30
7.2.330.0160.00816.50
7.2.320.0180.01016.51
7.2.310.0150.00916.33
7.2.300.0140.01616.42
7.2.290.0140.00816.45
7.2.280.0200.00716.26
7.2.270.0280.00416.21
7.2.260.0090.01515.59
7.2.250.0180.00615.58
7.2.240.0250.00615.68
7.2.230.0170.00615.49
7.2.220.0130.00915.62
7.2.210.0130.00815.59
7.2.200.0150.01115.72
7.2.190.0140.01215.69
7.2.180.0100.01315.57
7.2.170.0130.01215.74
7.2.160.0140.00715.76
7.2.150.0140.01015.78
7.2.140.0210.01015.73
7.2.130.0130.01015.85
7.2.120.0130.00615.71
7.2.110.0290.00815.79
7.2.100.0100.00715.90
7.2.90.0090.01015.76
7.2.80.0110.00815.72
7.2.70.0030.01415.78
7.2.60.0100.00915.62
7.2.50.0080.01115.87
7.2.40.0120.01015.89
7.2.30.0140.00615.84
7.2.20.0090.00915.81
7.2.10.0080.01115.68
7.2.00.0090.01115.76
7.0.00.0070.00314.03
5.6.400.0020.00612.55

preferences:
64.37 ms | 403 KiB | 5 Q