3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array("A","B","C","D","E","F","G"); foreach (array_chunk($arr, 2) as $list) { echo '<ul><li>' . implode('</li><li>', $list) . '</li></ul>' . PHP_EOL; }

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.10.0160.00019.34
8.3.140.0070.00319.10
8.3.130.0060.00318.31
8.3.120.0080.00018.75
8.3.110.0060.00920.94
8.3.100.0040.00418.38
8.3.90.0070.01126.77
8.3.80.0030.00616.50
8.3.70.0070.00716.58
8.3.60.0120.00316.63
8.3.50.0130.00524.49
8.3.40.0120.00618.63
8.3.30.0140.00018.58
8.3.20.0080.00024.18
8.3.10.0040.00424.66
8.3.00.0060.00326.16
8.2.260.0110.00716.37
8.2.250.0040.00416.55
8.2.240.0060.00316.96
8.2.230.0070.00322.58
8.2.220.0050.00324.06
8.2.210.0130.00726.77
8.2.200.0040.00416.38
8.2.190.0170.00316.58
8.2.180.0180.00425.92
8.2.170.0090.00618.83
8.2.160.0070.00722.96
8.2.150.0080.00025.66
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0170.00021.07
8.2.110.0030.00720.96
8.2.100.0070.00717.72
8.2.90.0050.00319.63
8.2.80.0040.00417.97
8.2.70.0030.00517.38
8.2.60.0090.00018.04
8.2.50.0000.00818.07
8.2.40.0030.00618.35
8.2.30.0040.00417.93
8.2.20.0000.00817.93
8.2.10.0000.00719.25
8.2.00.0040.00419.34
8.1.310.0110.00318.65
8.1.300.0080.00018.20
8.1.290.0090.00030.84
8.1.280.0130.00725.92
8.1.270.0000.00723.99
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0000.00923.84
8.1.230.0030.00920.97
8.1.220.0040.00417.74
8.1.210.0000.01018.78
8.1.200.0060.00317.35
8.1.190.0080.00017.23
8.1.180.0060.00318.10
8.1.170.0000.00818.50
8.1.160.0040.00418.84
8.1.150.0040.00418.90
8.1.140.0030.00520.63
8.1.130.0070.00020.18
8.1.120.0000.00817.52
8.1.110.0040.00417.43
8.1.100.0050.00517.42
8.1.90.0070.00317.49
8.1.80.0030.00517.34
8.1.70.0000.00717.33
8.1.60.0040.00417.44
8.1.50.0000.00817.41
8.1.40.0060.00317.53
8.1.30.0030.00617.47
8.1.20.0030.00617.69
8.1.10.0070.00317.43
8.1.00.0080.00017.43
8.0.300.0040.00420.08
8.0.290.0110.00216.63
8.0.280.0000.00718.41
8.0.270.0040.00417.92
8.0.260.0000.00620.19
8.0.250.0030.00616.92
8.0.240.0050.00317.02
8.0.230.0000.00716.84
8.0.220.0040.00416.88
8.0.210.0030.00316.81
8.0.200.0030.00316.84
8.0.190.0030.00316.95
8.0.180.0040.00416.89
8.0.170.0000.00916.95
8.0.160.0030.00516.80
8.0.150.0040.00416.85
8.0.140.0000.00816.85
8.0.130.0030.00313.31
8.0.120.0030.00516.73
8.0.110.0000.00716.79
8.0.100.0040.00416.71
8.0.90.0030.00516.92
8.0.80.0070.00816.90
8.0.70.0040.00416.93
8.0.60.0030.00516.80
8.0.50.0070.00016.76
8.0.30.0140.00317.02
8.0.20.0120.00616.93
8.0.10.0070.00016.88
8.0.00.0180.00016.57
7.4.330.0000.00515.55
7.4.320.0030.00316.58
7.4.300.0030.00316.57
7.4.290.0000.00816.51
7.4.280.0040.00416.52
7.4.270.0060.00016.41
7.4.260.0000.00513.29
7.4.250.0000.00716.36
7.4.240.0070.00016.57
7.4.230.0030.00316.59
7.4.220.0040.00416.47
7.4.210.0080.00716.58
7.4.200.0000.00716.49
7.4.130.0070.01116.57
7.4.120.0040.01616.64
7.4.110.0090.01316.72
7.4.100.0090.00616.50
7.4.90.0100.00716.37
7.4.80.0130.00316.51
7.4.70.0090.00916.29
7.4.60.0130.00316.30
7.4.50.0070.01016.61
7.4.40.0130.00316.43
7.4.30.0110.00516.45
7.4.20.0030.01416.32
7.4.10.0080.00816.46
7.4.00.0110.00516.02
7.3.330.0030.00616.02
7.3.320.0050.00013.04
7.3.310.0030.00316.29
7.3.300.0070.00016.10
7.3.290.0080.00616.22
7.3.280.0090.00616.15
7.3.260.0080.01116.45
7.3.230.0140.00316.46
7.3.210.0030.01416.26
7.3.200.0000.01616.65
7.3.190.0030.01316.36
7.3.180.0160.00016.57
7.3.170.0160.00016.18
7.3.160.0120.00416.38
7.3.150.0030.01316.51
7.3.140.0130.00316.33
7.3.130.0100.00616.36
7.3.120.0130.00316.07
7.3.110.0110.00716.33
7.3.100.0120.00316.25
7.3.90.0110.00516.16
7.3.80.0090.00616.37
7.3.70.0030.01316.25
7.3.60.0100.00616.38
7.3.50.0090.00616.27
7.3.40.0160.00016.11
7.3.30.0060.01016.29
7.3.20.0420.01016.39
7.3.10.0060.01316.26
7.3.00.0080.00816.22
7.2.330.0100.00716.67

preferences:
32.28 ms | 403 KiB | 5 Q