3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input_array = array('a', 'b', 'c', 'd', 'e'); print_r(array_chunk($input_array,0));

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.0090.00919.05
8.5.20.0090.01019.36
8.5.10.0100.01016.88
8.5.00.0140.00819.92
8.4.180.0160.00619.74
8.4.170.0120.01020.39
8.4.160.0140.00822.24
8.4.150.0020.00114.05
8.4.140.0150.00817.52
8.4.130.0070.00217.84
8.4.120.0140.00623.93
8.4.110.0130.00719.83
8.4.100.0130.00718.89
8.4.90.0030.00918.69
8.4.80.0060.00318.83
8.4.70.0120.00817.95
8.4.60.0080.00618.63
8.4.50.0030.00518.53
8.4.40.0160.00317.71
8.4.30.0100.01020.38
8.4.20.0100.01022.06
8.4.10.0080.00417.57
8.3.300.0110.00820.62
8.3.290.0090.00820.72
8.3.280.0120.00918.42
8.3.270.0130.00816.40
8.3.260.0160.00416.57
8.3.250.0110.00718.89
8.3.240.0090.01017.16
8.3.230.0100.00916.47
8.3.220.0090.01018.66
8.3.210.0040.00416.46
8.3.200.0050.00416.79
8.3.190.0080.00817.04
8.3.180.0090.01218.69
8.3.170.0150.00416.64
8.3.160.0140.00317.33
8.3.150.0110.00717.05
8.3.140.0070.00018.94
8.3.130.0070.00718.35
8.3.120.0060.00319.05
8.3.110.0000.00820.94
8.3.100.0080.00816.45
8.3.90.0070.01126.77
8.3.80.0060.00316.33
8.3.70.0060.01216.58
8.3.60.0140.00316.50
8.3.50.0140.00018.07
8.3.40.0110.00419.21
8.3.30.0150.00018.66
8.3.20.0070.00024.18
8.3.10.0060.00324.66
8.3.00.0040.00426.16
8.2.300.0090.01222.15
8.2.290.0110.00720.56
8.2.280.0150.00518.33
8.2.270.0150.00316.64
8.2.260.0060.01216.72
8.2.250.0080.00018.41
8.2.240.0060.00917.38
8.2.230.0070.00022.58
8.2.220.0100.00024.06
8.2.210.0040.01426.77
8.2.200.0080.00016.88
8.2.190.0180.00416.75
8.2.180.0160.00625.92
8.2.170.0090.00619.08
8.2.160.0080.00522.96
8.2.150.0000.00725.66
8.2.140.0020.00524.66
8.2.130.0040.00426.16
8.2.120.0090.00019.54
8.2.110.0090.00022.25
8.2.100.0060.00619.36
8.2.90.0040.00419.04
8.2.80.0000.00817.97
8.2.70.0000.00817.50
8.2.60.0000.00917.80
8.2.50.0030.00618.07
8.2.40.0040.00418.03
8.2.30.0040.00417.56
8.2.20.0000.00719.34
8.2.10.0000.00718.98
8.2.00.0040.00419.29
8.1.340.0070.00219.70
8.1.330.0130.00722.00
8.1.320.0090.01417.91
8.1.310.0040.01417.78
8.1.300.0070.01118.50
8.1.290.0060.00330.84
8.1.280.0150.00625.92
8.1.270.0040.00423.99
8.1.260.0120.00826.35
8.1.250.0000.00728.09
8.1.240.0030.00622.44
8.1.230.0060.00617.42
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0060.00317.13
8.1.190.0080.00017.13
8.1.180.0000.00818.10
8.1.170.0040.00418.50
8.1.160.0000.00718.70
8.1.150.0000.00818.49
8.1.140.0000.00717.36
8.1.130.0000.00818.73
8.1.120.0020.00517.33
8.1.110.0040.00417.47
8.1.100.0040.00417.36
8.1.90.0080.00017.38
8.1.80.0060.00317.45
8.1.70.0030.00317.39
8.1.60.0030.00617.50
8.1.50.0040.00417.53
8.1.40.0030.00517.52
8.1.30.0040.00417.60
8.1.20.0040.00417.55
8.1.10.0080.00017.53
8.1.00.0000.00717.43
8.0.300.0000.00818.77
8.0.290.0040.00416.75
8.0.280.0070.00018.27
8.0.270.0030.00316.79
8.0.260.0060.00018.29
8.0.250.0030.00316.85
8.0.240.0030.00316.85
8.0.230.0000.00716.99
8.0.220.0000.00716.76
8.0.210.0030.00316.76
8.0.200.0070.00016.86
8.0.190.0040.00416.84
8.0.180.0070.00016.93
8.0.170.0000.00916.89
8.0.160.0000.00816.88
8.0.150.0070.00016.89
8.0.140.0040.00416.77
8.0.130.0000.00613.32
8.0.120.0000.00816.77
8.0.110.0040.00416.74
8.0.100.0050.00316.86
8.0.90.0030.00616.80
8.0.80.0000.00816.88
8.0.70.0000.00716.85
8.0.60.0030.00316.80
8.0.50.0040.00416.89
8.0.30.0040.00416.82
8.0.20.0040.00416.95
8.0.10.0000.00717.00
8.0.00.0070.00017.00
7.4.330.0020.00215.55
7.4.320.0070.00016.54
7.4.300.0040.00416.49
7.4.290.0000.00716.48
7.4.280.0030.00616.36
7.4.270.0030.00316.54
7.4.260.0050.00013.15
7.4.250.0070.00016.30
7.4.240.0040.00416.54
7.4.230.0000.00816.49
7.4.220.0050.00316.49
7.4.210.0000.00716.46
7.4.200.0000.00716.53
7.4.190.0000.00716.50
7.4.180.0040.00416.55
7.4.160.0070.00016.53
7.4.150.0070.00016.47
7.4.140.0040.00416.52
7.4.130.0030.00316.34
7.4.120.0030.00316.22
7.4.110.0000.00716.23
7.4.100.0030.00316.46
7.4.90.0070.00016.33
7.4.80.0000.00616.32
7.4.70.0000.00716.23
7.4.60.0000.00816.30
7.4.50.0030.00316.28
7.4.40.0030.00316.36
7.4.30.0050.00316.45
7.4.20.0030.00316.32
7.4.10.0000.00716.17
7.4.00.0030.00316.32
7.3.330.0080.00016.04
7.3.320.0000.00513.13
7.3.310.0030.00316.19
7.3.300.0000.00616.19
7.3.290.0030.00316.13
7.3.280.0030.00315.97
7.3.270.0030.00316.24
7.3.260.0000.00716.12
7.3.250.0000.00716.19
7.3.240.0040.00416.27
7.3.230.0040.00416.22
7.3.220.0050.00316.18
7.3.210.0060.00316.18
7.3.200.0050.00216.08
7.3.190.0070.00016.13
7.3.180.0000.00716.10
7.3.170.0000.00616.23
7.3.160.0030.00316.27
7.3.150.0040.00415.99
7.3.140.0000.00716.23
7.3.130.0050.00216.29
7.3.120.0000.00616.07
7.3.110.0030.00316.12
7.3.100.0040.00416.01
7.3.90.0020.00516.36
7.3.80.0060.00016.28
7.3.70.0000.00616.11
7.3.60.0000.00616.30
7.3.50.0070.00016.29
7.3.40.0000.00716.29
7.3.30.0030.00316.11
7.3.20.0030.00318.00
7.3.10.0030.00317.89
7.3.00.0080.00017.77

preferences:
37.28 ms | 403 KiB | 5 Q