3v4l.org

run code in 300+ PHP versions simultaneously
<?php $rows = array_reverse(array_chunk(range(1, 100), 10)); echo "<table>\n"; foreach ($rows as $level => $row) { if (($level-1) % 2) { $row = array_reverse($row); } echo "\t<tr>\n"; foreach ($row as $value) { echo "\t\t<td>$value</td>\n"; } echo "\t</tr>\n"; } echo "<table>\n";

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.130.0060.00617.54
8.4.120.0110.00920.53
8.4.110.0120.00623.93
8.4.100.0120.00817.84
8.4.90.0110.00918.67
8.4.80.0080.00317.84
8.4.70.0110.00917.92
8.4.60.0100.01018.88
8.4.50.0130.00618.88
8.4.40.0040.00417.53
8.4.30.0080.00818.54
8.4.20.0130.00717.98
8.4.10.0040.00419.54
8.3.260.0060.00216.74
8.3.250.0090.00718.70
8.3.240.0060.00316.76
8.3.230.0090.00516.42
8.3.220.0100.00817.28
8.3.210.0070.00716.73
8.3.200.0080.00816.53
8.3.190.0100.00817.27
8.3.180.0110.00816.47
8.3.170.0160.00320.91
8.3.160.0160.00317.05
8.3.150.0130.00718.89
8.3.140.0120.00616.42
8.3.130.0030.00618.23
8.3.120.0000.00818.64
8.3.110.0030.00720.94
8.3.100.0060.00324.06
8.3.90.0080.00026.77
8.3.80.0030.00616.63
8.3.70.0100.00716.50
8.3.60.0090.00618.43
8.3.50.0090.00824.56
8.3.40.0090.00918.81
8.3.30.0090.00618.57
8.3.20.0050.00321.64
8.3.10.0030.00521.92
8.3.00.0040.00423.67
8.2.290.0080.00220.59
8.2.280.0120.00318.04
8.2.270.0120.00620.47
8.2.260.0050.00516.79
8.2.250.0110.00316.38
8.2.240.0160.00318.98
8.2.230.0080.00022.58
8.2.220.0060.01337.54
8.2.210.0070.01126.77
8.2.200.0030.00616.75
8.2.190.0110.01118.29
8.2.180.0070.01018.16
8.2.170.0100.00722.96
8.2.160.0030.01221.24
8.2.150.0080.00024.18
8.2.140.0000.00924.66
8.2.130.0070.00026.16
8.2.120.0080.00020.68
8.2.110.0100.00022.19
8.2.100.0120.00019.58
8.2.90.0030.00618.22
8.2.80.0050.00317.97
8.2.70.0040.00417.93
8.2.60.0100.00417.71
8.2.50.0070.00617.66
8.2.40.0110.00317.58
8.2.30.0030.00917.85
8.2.20.0050.00717.75
8.2.10.0080.00418.19
8.2.00.0070.00518.28
8.1.330.0120.00821.72
8.1.320.0120.00716.31
8.1.310.0110.00416.41
8.1.300.0130.00718.05
8.1.290.0040.00430.84
8.1.280.0000.01525.92
8.1.270.0060.00323.76
8.1.260.0060.00326.35
8.1.250.0060.00328.09
8.1.240.0070.01422.06
8.1.230.0120.00022.73
8.1.220.0030.00517.74
8.1.210.0040.00818.77
8.1.200.0030.00617.23
8.1.190.0050.00717.12
8.1.180.0060.00617.36
8.1.170.0100.00417.89
8.1.160.0080.00617.97
8.1.150.0070.00518.08
8.1.140.0060.00617.99
8.1.130.0020.01018.60
8.1.120.0060.00617.43
8.1.110.0100.00217.33
8.1.100.0100.00217.22
8.1.90.0080.00417.17
8.1.80.0080.00417.13
8.1.70.0080.00317.38
8.1.60.0070.00617.37
8.1.50.0090.00517.47
8.1.40.0090.00417.23
8.1.30.0090.00617.43
8.1.20.0080.00617.34
8.1.10.0070.00517.31
8.1.00.0120.00317.17
8.0.300.0070.00019.77
8.0.290.0080.00016.75
8.0.280.0100.00317.50
8.0.270.0070.00517.32
8.0.260.0100.00318.35
8.0.250.0030.00916.81
8.0.240.0060.00616.76
8.0.230.0090.00416.76
8.0.220.0100.00216.64
8.0.210.0070.00416.71
8.0.200.0090.00316.72
8.0.190.0100.00216.73
8.0.180.0100.00216.74
8.0.170.0060.00616.75
8.0.160.0080.00416.66
8.0.150.0120.00016.63
8.0.140.0050.00716.68
8.0.130.0070.00414.89
8.0.120.0060.00616.69
8.0.110.0060.00616.65
8.0.100.0080.00516.72
8.0.90.0100.00216.68
8.0.80.0050.01116.79
8.0.70.0050.00716.63
8.0.60.0100.00216.70
8.0.50.0090.00416.63
8.0.30.0100.00816.98
8.0.20.0120.00716.85
8.0.10.0110.00116.89
8.0.00.0140.00416.66
7.4.330.0090.00016.03
7.4.320.0050.00616.48
7.4.300.0100.00216.52
7.4.290.0090.00316.48
7.4.280.0070.00516.44
7.4.270.0030.00816.49
7.4.260.0080.00214.89
7.4.250.0040.00716.51
7.4.240.0080.00316.44
7.4.230.0100.00216.42
7.4.220.0050.00416.55
7.4.210.0080.00616.57
7.4.200.0070.00416.56
7.4.190.0050.01116.52
7.4.180.0120.00416.52
7.4.160.0140.00316.52
7.4.150.0130.00216.52
7.4.140.0140.00016.52
7.4.130.0150.00716.48
7.4.120.0090.00916.46
7.4.110.0060.01016.55
7.4.100.0120.00816.49
7.4.90.0070.01016.48
7.4.80.0130.00717.96
7.4.70.0130.00316.48
7.4.60.0100.00816.51
7.4.50.0120.00216.51
7.4.40.0070.00916.49
7.4.30.0090.00916.42
7.4.20.0130.00416.26
7.4.10.0080.00816.46
7.4.00.0090.01016.51
7.3.330.0060.00516.51
7.3.320.0080.00214.84
7.3.310.0060.00516.39
7.3.300.0090.00216.44
7.3.290.0090.00816.38
7.3.280.0120.00416.42
7.3.270.0000.01416.52
7.3.260.0090.01216.52
7.3.250.0110.00416.52
7.3.240.0120.00316.52
7.3.230.0160.02116.55
7.3.220.0120.00416.52
7.3.210.0130.00516.41
7.3.200.0080.00916.44
7.3.190.0120.00516.53
7.3.180.0110.00516.51
7.3.170.0110.00716.50
7.3.160.0110.00716.45
7.3.150.0080.00816.45
7.3.140.0080.00816.55
7.3.130.0120.00716.42
7.3.120.0090.01016.39
7.3.110.0080.01116.46
7.3.100.0060.01016.33
7.3.90.0110.00516.47
7.3.80.0110.00616.46
7.3.70.0090.00716.46
7.3.60.0090.00716.41
7.3.50.0120.00316.46
7.3.40.0100.00516.48
7.3.30.0130.00316.52
7.3.20.0110.00616.39
7.3.10.0100.00616.54
7.3.00.0110.00716.45
7.2.340.0070.00716.52
7.2.330.0090.00616.54
7.2.320.0120.00616.58
7.2.310.0110.00416.46
7.2.300.0100.00916.60
7.2.290.0120.00616.54
7.2.280.0110.00616.55
7.2.270.0120.00516.45
7.2.260.0100.00916.58
7.2.250.0120.00716.62
7.2.240.0090.00816.57
7.2.230.0050.01116.64
7.2.220.0070.01016.52
7.2.210.0100.00616.62
7.2.200.0100.00716.58
7.2.190.0090.00716.44
7.2.180.0090.00816.48
7.2.170.0090.00716.51
7.2.160.0130.00316.55
7.2.150.0160.00216.58
7.2.140.0080.00816.50
7.2.130.0090.00816.64
7.2.120.0130.00416.53
7.2.110.0120.00516.56
7.2.100.0120.00616.59
7.2.90.0140.00616.58
7.2.80.0110.00616.46
7.2.70.0130.00416.62
7.2.60.0100.00616.62
7.2.50.0100.00616.52
7.2.40.0160.00116.59
7.2.30.0150.00316.54
7.2.20.0080.01016.56
7.2.10.0110.00716.59
7.2.00.0200.00916.56

preferences:
27.02 ms | 403 KiB | 5 Q