3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = range('a', 'g'); $n = 2; var_export( array_chunk(array_pad($array, $n * ceil(count($array) / $n), null), $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.5.30.0110.00619.46
8.5.20.0110.00620.13
8.5.10.0120.00716.49
8.5.00.0110.01019.82
8.4.180.0150.00919.64
8.4.170.0150.00623.92
8.4.160.0080.01422.09
8.4.150.0070.00516.81
8.4.140.0130.00817.55
8.4.130.0110.00917.59
8.4.120.0130.00724.10
8.4.110.0130.00818.84
8.4.100.0030.00617.84
8.4.90.0060.00317.67
8.4.80.0070.01519.43
8.4.70.0090.00517.56
8.4.60.0030.00518.54
8.4.50.0090.00720.43
8.4.40.0150.00417.39
8.4.30.0100.01020.24
8.4.20.0080.01219.44
8.4.10.0090.00619.11
8.3.300.0090.01418.36
8.3.290.0110.00820.86
8.3.280.0140.00718.45
8.3.270.0120.00716.58
8.3.260.0100.00817.36
8.3.250.0100.00918.63
8.3.240.0140.00516.50
8.3.230.0020.00816.57
8.3.220.0030.00417.03
8.3.210.0030.00420.85
8.3.200.0020.00616.59
8.3.190.0050.00316.98
8.3.180.0080.00718.57
8.3.170.0110.00717.32
8.3.160.0100.00720.76
8.3.150.0090.00916.89
8.3.140.0070.01116.43
8.3.130.0280.01116.46
8.3.120.0240.00016.58
8.3.110.0130.00316.06
8.3.100.0160.00316.52
8.3.90.0170.00416.52
8.3.80.0170.00416.29
8.3.70.0220.00016.57
8.3.60.0100.01016.28
8.3.50.0170.00416.25
8.3.40.0100.01017.39
8.3.30.0160.00417.29
8.3.20.0160.00516.94
8.3.10.0140.00317.16
8.3.00.0070.00317.50
8.2.300.0120.00822.16
8.2.290.0110.00720.54
8.2.280.0110.00718.20
8.2.270.0100.00716.45
8.2.260.0150.00317.27
8.2.250.0000.00716.79
8.2.240.0080.00816.24
8.2.230.0120.00616.43
8.2.220.0140.00316.35
8.2.210.0170.00016.56
8.2.200.0140.00516.47
8.2.190.0110.00816.54
8.2.180.0180.00016.17
8.2.170.0140.00517.59
8.2.160.0150.00617.29
8.2.150.0170.00417.47
8.2.140.0120.00817.35
8.2.130.0140.00517.11
8.2.120.0130.00617.58
8.2.110.0130.00717.24
8.2.100.0200.00017.47
8.2.90.0170.00017.52
8.2.80.0190.00017.43
8.2.70.0090.00917.43
8.2.60.0030.00917.59
8.2.50.0180.00017.26
8.2.40.0190.00417.74
8.2.30.0200.00017.36
8.2.20.0150.00417.36
8.2.10.0110.00817.40
8.2.00.0180.00017.18
8.1.340.0150.00619.61
8.1.330.0040.00616.80
8.1.320.0110.00816.03
8.1.310.0090.00616.84
8.1.300.0110.00816.09
8.1.290.0140.00316.05
8.1.280.0170.00316.05
8.1.270.0160.00416.76
8.1.260.0150.00417.28
8.1.250.0140.00517.25
8.1.240.0130.00316.93
8.1.230.0130.00317.16
8.1.220.0130.00417.09
8.1.210.0150.00317.06
8.1.200.0160.00317.20
8.1.190.0180.00017.05
8.1.180.0140.00516.80
8.1.170.0130.00317.16
8.1.160.0120.00417.20
8.1.150.0080.00817.27
8.1.140.0170.00017.19
8.1.130.0150.00317.20
8.1.120.0140.00217.45
8.1.110.0160.00017.16
8.1.100.0100.00717.36
8.1.90.0200.00017.26
8.1.80.0120.00617.21
8.1.70.0180.00017.03
8.1.60.0120.00617.38
8.1.50.0140.00317.20
8.1.40.0140.00317.30
8.1.30.0150.00417.26
8.1.20.0200.00016.79
8.1.10.0150.00516.95
8.1.00.0150.00316.97

preferences:
43.18 ms | 994 KiB | 5 Q