3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array('a' => 'this is a', 'b' => 'this is b', 'c' => 'this is c', 'd' => 'this is d'); var_dump(array_chunk($a, 2));

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.3.60.0110.00416.50
8.3.50.0110.00821.92
8.3.40.0040.01118.59
8.3.30.0140.00019.04
8.3.20.0000.00820.39
8.3.10.0060.00323.39
8.3.00.0090.00020.73
8.2.180.0040.01118.41
8.2.170.0090.00622.96
8.2.160.0110.00420.46
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0070.00026.16
8.2.120.0040.00420.53
8.2.110.0030.00621.97
8.2.100.0060.00619.52
8.2.90.0080.00019.01
8.2.80.0050.00317.97
8.2.70.0000.00817.38
8.2.60.0030.00517.92
8.2.50.0000.00918.07
8.2.40.0000.00819.81
8.2.30.0050.00318.19
8.2.20.0080.00017.61
8.2.10.0040.00417.99
8.2.00.0030.00917.61
8.1.280.0150.00625.92
8.1.270.0080.00023.82
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0060.00323.85
8.1.230.0040.00819.00
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0000.00917.23
8.1.190.0050.00317.13
8.1.180.0000.00819.01
8.1.170.0000.00818.59
8.1.160.0000.00821.86
8.1.150.0000.00818.51
8.1.140.0000.00717.34
8.1.130.0040.00417.82
8.1.120.0030.00417.44
8.1.110.0040.00417.44
8.1.100.0030.00617.41
8.1.90.0040.00317.30
8.1.80.0040.00417.44
8.1.70.0040.00717.39
8.1.60.0000.00917.41
8.1.50.0040.00417.32
8.1.40.0040.00817.36
8.1.30.0030.00617.50
8.1.20.0040.00417.42
8.1.10.0070.00017.30
8.1.00.0040.00417.36
8.0.300.0050.00318.77
8.0.290.0060.00317.18
8.0.280.0040.00418.39
8.0.270.0070.00017.13
8.0.260.0030.00317.18
8.0.250.0070.00016.83
8.0.240.0000.00816.90
8.0.230.0000.00716.88
8.0.220.0070.00016.84
8.0.210.0000.00716.80
8.0.200.0050.00316.88
8.0.190.0000.00816.85
8.0.180.0050.00316.75
8.0.170.0040.00416.74
8.0.160.0080.00016.82
8.0.150.0030.00616.83
8.0.140.0040.00416.78
8.0.130.0000.00513.24
8.0.120.0050.00316.84
8.0.110.0000.00716.84
8.0.100.0030.00616.87
8.0.90.0040.00416.78
8.0.80.0100.00616.82
8.0.70.0050.00316.64
8.0.60.0000.00716.84
8.0.50.0040.00316.87
8.0.30.0110.00916.94
8.0.20.0090.01017.40
8.0.10.0030.00516.83
8.0.00.0070.01016.60
7.4.330.0020.00215.00
7.4.320.0000.00716.44
7.4.300.0000.00616.56
7.4.290.0040.00416.43
7.4.280.0070.00016.43
7.4.270.0000.00716.54
7.4.260.0040.00416.48
7.4.250.0050.00216.50
7.4.240.0020.00516.46
7.4.230.0070.00016.44
7.4.220.0140.00416.58
7.4.210.0100.00516.53
7.4.200.0030.00316.43
7.4.190.0070.00016.60
7.4.160.0120.00416.63
7.4.150.0110.00717.40
7.4.140.0100.00717.86
7.4.130.0060.01116.44
7.4.120.0100.00716.50
7.4.110.0060.01316.35
7.4.100.0140.00416.46
7.4.90.0040.01816.31
7.4.80.0060.01519.39
7.4.70.0090.00916.32
7.4.60.0070.01016.49
7.4.50.0040.00416.46
7.4.40.0120.00616.57
7.4.30.0100.00716.36
7.4.00.0130.00314.97
7.3.330.0060.00012.89
7.3.320.0000.00512.88
7.3.310.0040.00416.18
7.3.300.0000.00716.12
7.3.290.0040.01116.08
7.3.280.0100.00716.09
7.3.270.0090.00917.40
7.3.260.0080.01216.11
7.3.250.0140.00616.14
7.3.240.0110.00616.46
7.3.230.0170.00016.46
7.3.210.0130.00316.18
7.3.200.0050.01119.39
7.3.190.0130.01016.18
7.3.180.0000.01916.09
7.3.170.0140.00716.42
7.3.160.0030.01316.29
7.3.120.0060.00614.61
7.3.10.0100.00316.25
7.3.00.0070.01016.28
7.2.330.0120.00616.33
7.2.320.0170.00016.09
7.2.310.0060.01716.51
7.2.300.0100.00716.30
7.2.290.0180.00316.34
7.2.130.0030.00616.33
7.2.120.0030.00516.45
7.2.110.0040.00416.71
7.2.100.0060.00316.62
7.2.90.0120.01016.59
7.2.80.0110.00516.53
7.2.70.0100.00516.78
7.2.60.0140.00616.39
7.2.50.0040.00816.31
7.2.40.0090.00916.41
7.2.30.0120.00316.78
7.2.20.0110.00316.48
7.2.10.0030.01016.69
7.2.00.0100.00717.92
7.1.250.0030.01015.69
7.1.100.0070.01017.94
7.1.70.0040.01116.89
7.1.60.0000.02419.46
7.1.50.0150.01116.93
7.1.00.0030.07722.35
7.0.200.0000.00716.73
7.0.140.0030.06721.92
7.0.60.0170.07719.90
7.0.50.0100.03317.75
7.0.40.0070.07319.90
7.0.30.0270.04720.03
7.0.20.0300.08020.09
7.0.10.0370.06320.38
7.0.00.0130.05720.00
5.6.280.0030.07321.13
5.6.210.0100.04720.50
5.6.200.0000.04718.14
5.6.190.0030.08320.63
5.6.180.3470.04720.32
5.6.170.0300.07720.35
5.6.160.0170.07020.46
5.6.150.0030.06018.08
5.6.140.0000.04318.11
5.6.130.0200.07318.21
5.6.120.0070.04020.98
5.6.110.0070.09021.08
5.6.100.0030.06021.10
5.6.90.0070.08720.99
5.6.80.0100.07320.43
5.6.70.0030.05020.39
5.5.350.0330.06020.42
5.5.340.0170.07318.02
5.5.330.0000.08720.40
5.5.320.0430.04020.44
5.5.310.0370.07020.24
5.5.300.0030.06018.01
5.5.290.0100.08017.95
5.5.280.0030.04020.74
5.5.270.0100.03320.73
5.5.260.0030.04020.78
5.5.250.0070.03720.68
5.5.240.0030.06020.36
5.4.450.0200.05719.64
5.4.440.0030.06719.55
5.4.430.0230.04719.44
5.4.420.0670.00019.52
5.4.410.0070.05718.72
5.4.400.0270.05018.68
5.4.390.0300.05718.78
5.4.380.0270.04718.60
5.4.370.0070.04718.51
5.4.360.0100.04718.55
5.4.350.0210.06311.97
5.4.340.0160.11511.97
5.4.320.0070.03412.45
5.4.310.0060.05412.45
5.4.300.0050.03712.45
5.4.290.0090.05912.45
5.4.280.0060.05212.34
5.4.270.0060.05012.35
5.4.260.0090.06812.35
5.4.250.0120.05812.34
5.4.240.0160.08112.35
5.4.230.0100.05312.34
5.4.220.0130.05012.34
5.4.210.0060.05512.34
5.4.200.0090.05612.34
5.4.190.0140.05012.34
5.4.180.0070.05612.33
5.4.170.0080.05312.35
5.4.160.0110.05212.34
5.4.150.0060.05312.34
5.4.140.0090.05412.02
5.4.130.0110.04812.01
5.4.120.0080.05311.96
5.4.110.0100.05311.96
5.4.100.0100.04711.96
5.4.90.0100.05311.96
5.4.80.0120.05211.96
5.4.70.0120.05811.96
5.4.60.0120.05311.96
5.4.50.0070.05811.96
5.4.40.0100.05411.95
5.4.30.0110.05011.95
5.4.20.0110.05411.95
5.4.10.0080.05211.95
5.4.00.0090.05011.43
5.3.290.0100.03512.80
5.3.280.0100.05212.71
5.3.270.0100.06012.72
5.3.260.0110.05712.72
5.3.250.0090.05612.72
5.3.240.0070.06412.72
5.3.230.0130.05712.71
5.3.220.0150.05312.68
5.3.210.0110.06412.68
5.3.200.0090.05912.68
5.3.190.0110.05612.68
5.3.180.0070.05712.68
5.3.170.0110.05712.67
5.3.160.0110.05312.67
5.3.150.0090.05612.68
5.3.140.0130.05112.66
5.3.130.0140.05812.66
5.3.120.0100.05712.66
5.3.110.0170.05012.66
5.3.100.0200.04612.12
5.3.90.0180.06312.08
5.3.80.0100.08512.08
5.3.70.0100.05312.08
5.3.60.0120.05012.06
5.3.50.0080.05112.00
5.3.40.0120.05212.00
5.3.30.0120.04911.95
5.3.20.0160.08511.72
5.3.10.0200.07811.69
5.3.00.0140.07011.67
5.2.170.0060.0459.18
5.2.160.0150.0749.18
5.2.150.0350.0869.18
5.2.140.0220.0869.17
5.2.130.0070.0429.14
5.2.120.0150.0469.14
5.2.110.0140.0719.14
5.2.100.0050.0419.14
5.2.90.0130.0409.13
5.2.80.0140.0629.13
5.2.70.0090.0469.13
5.2.60.0130.0499.09
5.2.50.0040.0399.05
5.2.40.0060.0359.03
5.2.30.0060.0309.01
5.2.20.0070.0299.00
5.2.10.0100.0258.92
5.2.00.0190.0548.77
5.1.60.0040.0278.06
5.1.50.0080.0238.05
5.1.40.0030.0298.04
5.1.30.0130.0468.39
5.1.20.0140.0758.41
5.1.10.0080.0518.13
5.1.00.0180.1048.14
5.0.50.0110.0316.61
5.0.40.0090.0436.46
5.0.30.0040.0476.29
5.0.20.0070.0476.26
5.0.10.0050.0366.23
5.0.00.0110.1126.23
4.4.90.0020.0274.78
4.4.80.0040.0444.76
4.4.70.0080.0324.75
4.4.60.0090.0364.75
4.4.50.0070.0154.77
4.4.40.0120.0634.71
4.4.30.0070.0374.76
4.4.20.0120.0374.84
4.4.10.0060.0284.85
4.4.00.0050.0494.76
4.3.110.0070.0424.67
4.3.100.0080.0324.66
4.3.90.0040.0234.63
4.3.80.0040.0574.59
4.3.70.0130.0304.63
4.3.60.0240.0614.63
4.3.50.0100.0374.63
4.3.40.0090.0544.54
4.3.30.0040.0383.28
4.3.20.0070.0363.25
4.3.10.0010.0223.22
4.3.00.0070.0206.32

preferences:
38.4 ms | 401 KiB | 5 Q