3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array("exercise__2" => "Then a set", "sets__2" => 3, "exercise__4" => "And finally a set", "sets__4" => 3); $result = array_chunk($arr, 2, true); print_r($result);

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.00.0080.00519.94
8.4.150.0020.00014.05
8.4.140.0120.00817.59
8.4.130.0120.00817.64
8.4.120.0120.00824.20
8.4.110.0040.00520.79
8.4.100.0060.00318.55
8.4.90.0070.00620.53
8.4.80.0140.00718.49
8.4.70.0110.00717.70
8.4.60.0110.00918.69
8.4.50.0090.01118.35
8.4.40.0000.01919.11
8.4.30.0070.00418.57
8.4.20.0080.01220.51
8.4.10.0000.01019.55
8.3.280.0130.00718.30
8.3.270.0150.00616.36
8.3.260.0110.00816.35
8.3.250.0080.00918.65
8.3.240.0040.00617.30
8.3.230.0110.00916.40
8.3.220.0080.00918.93
8.3.210.0050.00218.19
8.3.200.0070.00216.38
8.3.190.0040.00416.91
8.3.180.0120.00617.29
8.3.170.0090.00620.59
8.3.160.0070.01116.23
8.3.150.0140.00417.16
8.3.140.0080.00016.46
8.3.130.0030.00618.18
8.3.120.0100.00619.00
8.3.110.0060.00316.38
8.3.100.0070.00424.06
8.3.90.0040.00426.77
8.3.80.0040.00419.36
8.3.70.0060.01516.63
8.3.60.0070.01118.18
8.3.50.0110.00616.38
8.3.40.0070.01118.46
8.3.30.0090.00618.65
8.3.20.0040.00421.58
8.3.10.0080.00019.03
8.3.00.0080.00021.65
8.2.290.0110.00720.67
8.2.280.0030.00418.50
8.2.270.0120.00617.23
8.2.260.0040.00416.30
8.2.250.0040.00416.74
8.2.240.0060.01218.93
8.2.230.0030.00620.94
8.2.220.0040.00437.54
8.2.210.0100.00726.77
8.2.200.0060.00318.88
8.2.190.0150.00318.29
8.2.180.0140.00418.16
8.2.170.0110.01122.96
8.2.160.0070.00720.35
8.2.150.0050.00324.18
8.2.140.0050.00524.66
8.2.130.0040.00426.16
8.2.120.0040.00420.89
8.2.110.0090.00020.51
8.2.100.0080.00417.60
8.2.90.0000.00818.09
8.2.80.0090.00019.03
8.2.70.0040.00417.80
8.2.60.0000.00818.09
8.2.50.0000.00818.10
8.2.40.0000.00818.93
8.2.30.0070.00020.42
8.2.20.0040.00417.86
8.2.10.0000.00818.77
8.2.00.0070.00017.91
8.1.330.0130.00721.79
8.1.320.0080.00215.95
8.1.310.0070.01116.01
8.1.300.0000.00919.82
8.1.290.0030.00730.84
8.1.280.0000.01425.92
8.1.270.0090.00021.97
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0040.00422.19
8.1.230.0060.00620.91
8.1.220.0040.00417.74
8.1.210.0090.00018.77
8.1.200.0070.00317.23
8.1.190.0090.00018.89
8.1.180.0000.00818.10
8.1.170.0060.00318.47
8.1.160.0000.00818.82
8.1.150.0000.00818.69
8.1.140.0040.00418.72
8.1.130.0030.00317.36
8.1.120.0050.00317.39
8.1.110.0060.00317.34
8.1.100.0080.00017.27
8.1.90.0040.00417.29
8.1.80.0050.00317.42
8.1.70.0070.00417.43
8.1.60.0060.00317.38
8.1.50.0080.00017.45
8.1.40.0040.00417.45
8.1.30.0000.00817.60
8.1.20.0040.00717.56
8.1.10.0040.00417.45
8.1.00.0040.00417.23
8.0.300.0040.00420.16
8.0.290.0000.00816.63
8.0.280.0000.00718.37
8.0.270.0040.00417.23
8.0.260.0030.00319.99
8.0.250.0040.00216.89
8.0.240.0040.00416.77
8.0.230.0000.00716.86
8.0.220.0030.00316.82
8.0.210.0070.00016.70
8.0.200.0100.00016.86
8.0.190.0040.00416.88
8.0.180.0030.00316.88
8.0.170.0000.00916.84
8.0.160.0000.00716.73
8.0.150.0040.00416.81
8.0.140.0040.00416.69
8.0.130.0050.00013.20
8.0.120.0000.00916.84
8.0.110.0040.00416.71
8.0.100.0040.00416.68
8.0.90.0050.00216.79
8.0.80.0090.00916.79
8.0.70.0080.00016.81
8.0.60.0040.00416.77
8.0.50.0040.00416.68
8.0.30.0130.00716.95
8.0.20.0070.01117.08
8.0.10.0000.00716.96
8.0.00.0100.00916.67
7.4.330.0000.00415.55
7.4.320.0000.00716.53
7.4.300.0030.00316.53
7.4.290.0000.00916.45
7.4.280.0000.00816.33
7.4.270.0000.00716.53
7.4.260.0000.00716.32
7.4.250.0050.00316.29
7.4.240.0000.01016.34
7.4.230.0030.00316.59
7.4.220.0040.00416.32
7.4.210.0020.01516.43
7.4.200.0070.00016.59
7.4.160.0080.01116.48
7.4.140.0090.00917.86
7.4.130.0060.01216.40
7.4.120.0030.01316.59
7.4.110.0110.00616.34
7.4.100.0160.00716.34
7.4.90.0120.01116.48
7.4.80.0130.00919.39
7.4.70.0120.00616.41
7.4.60.0110.00916.42
7.4.50.0030.01416.27
7.4.40.0080.00816.43
7.4.10.0030.01614.91
7.4.00.0090.00814.90
7.3.330.0020.00213.12
7.3.320.0060.00013.04
7.3.310.0070.00015.98
7.3.300.0040.00416.16
7.3.290.0070.00015.98
7.3.280.0130.01116.08
7.3.260.0110.00716.18
7.3.240.0090.00816.24
7.3.230.0150.00316.14
7.3.210.0100.00616.06
7.3.200.0100.00716.10
7.3.190.0080.01416.26
7.3.180.0100.01016.26
7.3.170.0110.00716.29
7.3.160.0110.01116.31
7.3.130.0100.00614.87
7.3.120.0070.01014.70
7.3.110.0080.00614.37
7.3.100.0060.01014.73
7.3.90.0100.00614.87
7.3.80.0060.00614.60
7.3.70.0050.00514.44
7.3.60.0000.01414.59
7.3.50.0100.00914.67
7.3.40.0080.00714.62
7.3.30.0050.01114.55
7.3.20.0110.00415.79
7.3.10.0090.00615.70
7.3.00.0090.00715.95
7.2.330.0060.01216.24
7.2.320.0090.01116.55
7.2.310.0100.00616.57
7.2.300.0120.00616.49
7.2.290.0080.01216.62
7.2.260.0090.00914.77
7.2.250.0100.01014.68
7.2.240.0030.01214.98
7.2.230.0080.00815.18
7.2.220.0060.00914.64
7.2.210.0030.00914.73
7.2.200.0070.00715.14
7.2.190.0060.00914.77
7.2.180.0110.00914.86
7.2.170.0090.00714.77
7.2.160.0110.00514.85
7.2.150.0310.00416.07
7.2.140.0100.00716.13
7.2.130.0080.00516.14
7.2.120.0080.00716.17
7.2.110.0040.00916.23
7.2.100.0070.00816.10
7.2.90.0130.00616.13
7.2.80.0130.00716.19
7.2.70.0100.00716.17
7.2.60.0140.01016.20
7.2.50.0090.00916.07
7.2.40.0130.00716.09
7.2.30.0090.01216.12
7.2.20.0050.00816.22
7.2.10.0070.01116.00
7.2.00.0120.01016.21
7.1.330.0070.00815.88
7.1.320.0070.00715.71
7.1.310.0000.01215.55
7.1.300.0120.00015.46
7.1.290.0050.00515.69
7.1.280.0120.00715.02
7.1.270.0100.00614.98
7.1.260.0080.00814.92
7.1.250.0090.01214.99
7.1.240.0090.00015.80
7.1.230.0070.00415.79
7.1.220.0000.01315.79
7.1.210.0100.00515.93
7.1.200.0000.01315.86
7.1.190.0100.00615.88
7.1.180.0100.00315.43
7.1.170.0070.01115.88
7.1.160.0030.00715.86
7.1.150.0030.01015.59
7.1.140.0090.00015.80
7.1.130.0130.00315.84
7.1.120.0030.01415.80
7.1.110.0060.01015.82
7.1.100.0080.00515.70
7.1.90.0030.01015.49
7.1.80.0070.00715.71
7.1.70.0100.00315.93
7.1.60.0070.00715.58
7.1.50.0000.01415.61
7.1.40.0000.01615.70
7.1.30.0060.00915.76
7.1.20.0000.01415.56
7.1.10.0030.01015.66
7.1.00.0060.00615.78

preferences:
29.85 ms | 403 KiB | 5 Q