3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = array ( "group_name_1" => "audi", "group_locations_1" => "tokyo,barcelona,paris", "group_quantities_at_locations_1" => "1,2,7", "group_name_2" => "ford", "group_locations_2" => "london,prag", "group_quantities_at_locations_2" => "3,6" ); print_r(array_chunk($input,3));

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.0140.00716.63
8.3.50.0130.00522.05
8.3.40.0120.00318.41
8.3.30.0040.01118.59
8.3.20.0040.00420.22
8.3.10.0040.00420.53
8.3.00.0070.00023.61
8.2.180.0100.00716.63
8.2.170.0100.00322.96
8.2.160.0100.00319.38
8.2.150.0040.00424.18
8.2.140.0070.00024.66
8.2.130.0040.00420.75
8.2.120.0040.00426.35
8.2.110.0030.00621.18
8.2.100.0030.00917.84
8.2.90.0040.00419.23
8.2.80.0030.00517.97
8.2.70.0030.00617.38
8.2.60.0000.00717.93
8.2.50.0080.00018.09
8.2.40.0000.00822.10
8.2.30.0070.00019.24
8.2.20.0020.00517.65
8.2.10.0000.00717.90
8.2.00.0000.00717.99
8.1.280.0100.00725.92
8.1.270.0120.00622.09
8.1.260.0030.00528.09
8.1.250.0040.00428.09
8.1.240.0030.00723.96
8.1.230.0040.00719.01
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0060.00317.22
8.1.190.0050.00517.11
8.1.180.0000.00718.10
8.1.170.0060.00318.66
8.1.160.0030.00520.80
8.1.150.0030.00318.87
8.1.140.0040.00419.50
8.1.130.0070.00017.63
8.1.120.0050.00217.36
8.1.110.0040.00417.29
8.1.100.0070.00017.38
8.1.90.0050.00217.39
8.1.80.0000.00717.29
8.1.70.0070.00017.45
8.1.60.0070.00017.54
8.1.50.0030.00517.40
8.1.40.0050.00317.49
8.1.30.0080.00017.62
8.1.20.0050.00217.34
8.1.10.0040.00417.38
8.1.00.0000.00717.26
8.0.300.0040.00418.77
8.0.290.0030.00616.75
8.0.280.0000.00718.32
8.0.270.0070.00017.13
8.0.260.0000.00617.09
8.0.250.0030.00316.78
8.0.240.0040.00416.78
8.0.230.0000.00716.88
8.0.220.0030.00316.71
8.0.210.0020.00516.82
8.0.200.0030.00316.92
8.0.190.0050.00316.77
8.0.180.0000.00716.82
8.0.170.0050.00316.75
8.0.160.0000.00716.87
8.0.150.0040.00416.87
8.0.140.0000.00816.84
8.0.130.0000.00513.20
8.0.120.0000.00816.74
8.0.110.0040.00416.72
8.0.100.0000.00716.88
8.0.90.0050.00216.63
8.0.80.0030.01316.74
8.0.70.0000.00816.82
8.0.60.0030.00516.70
8.0.50.0000.00816.72
8.0.30.0110.00616.87
8.0.20.0090.00917.40
8.0.10.0030.00316.82
8.0.00.0100.00816.70
7.4.330.0000.00516.79
7.4.320.0000.00716.34
7.4.300.0000.00716.38
7.4.290.0070.00016.44
7.4.280.0040.00416.41
7.4.270.0000.00616.44
7.4.260.0050.00316.55
7.4.250.0030.00316.34
7.4.240.0040.00416.39
7.4.230.0000.00616.63
7.4.220.0070.01316.45
7.4.210.0030.01316.62
7.4.200.0000.00716.27
7.4.160.0140.00416.42
7.4.150.0120.00917.40
7.4.140.0110.00917.86
7.4.130.0090.01016.37
7.4.120.0110.01016.45
7.4.110.0080.00816.32
7.4.100.0040.01216.49
7.4.90.0100.00716.47
7.4.80.0100.01219.39
7.4.70.0070.01016.37
7.4.60.0100.00716.51
7.4.50.0070.01016.27
7.4.40.0100.00716.52
7.4.30.0140.00316.59
7.4.00.0100.00314.78
7.3.330.0030.00312.88
7.3.320.0000.00513.07
7.3.310.0070.00015.96
7.3.300.0000.00715.97
7.3.290.0060.01216.10
7.3.280.0090.01016.10
7.3.270.0070.01017.40
7.3.260.0130.01016.15
7.3.250.0060.01216.31
7.3.240.0080.00916.19
7.3.230.0060.01016.39
7.3.210.0110.00616.31
7.3.200.0080.00816.52
7.3.190.0130.00316.33
7.3.180.0110.00816.45
7.3.170.0080.01116.36
7.3.160.0060.00916.34
7.3.10.0060.00916.63
7.3.00.0040.01216.45
7.2.330.0040.01516.36
7.2.320.0060.01716.49
7.2.310.0140.00716.14
7.2.300.0080.00816.50
7.2.290.0070.01016.45
7.2.130.0030.01016.36
7.2.120.0000.01216.59
7.2.110.0040.00816.74
7.2.100.0050.00516.59
7.2.90.0070.00716.62
7.2.80.0030.01316.71
7.2.70.0060.00616.60
7.2.60.0080.00616.46
7.2.50.0040.01116.52
7.2.40.0070.00716.73
7.2.30.0030.01016.54
7.2.20.0120.00016.86
7.2.10.0130.00016.74
7.2.00.0050.00917.96
7.1.250.0100.00315.75
7.1.240.0060.00915.64
7.1.230.0060.01015.79
7.1.220.0030.00915.74
7.1.210.0100.00315.45
7.1.200.0080.00815.82
7.1.190.0070.00315.64
7.1.180.0130.00015.68
7.1.170.0060.00615.85
7.1.160.0030.01015.60
7.1.150.0000.01115.65
7.1.140.0060.00915.45
7.1.130.0080.00315.73
7.1.120.0030.00915.66
7.1.110.0100.00715.75
7.1.100.0030.00716.74
7.1.90.0090.00315.68
7.1.80.0080.00015.81
7.1.70.0040.00616.35
7.1.60.0100.00917.42
7.1.50.0080.00616.22
7.1.40.0030.00515.78
7.1.30.0030.00615.49
7.1.20.0040.00815.86
7.1.10.0070.00715.75
7.1.00.0030.04418.95
7.0.330.0030.01115.21
7.0.320.0060.00615.32
7.0.310.0060.00615.40
7.0.300.0000.01515.20
7.0.290.0050.00515.16
7.0.280.0100.00015.32
7.0.270.0060.00615.37
7.0.260.0100.00715.46
7.0.250.0090.00315.52
7.0.240.0040.00715.02
7.0.230.0060.00615.43
7.0.220.0090.00315.41
7.0.210.0120.00015.13
7.0.200.0250.00514.93
7.0.190.0110.00315.31
7.0.180.0040.00815.37
7.0.170.0030.00915.42
7.0.160.0030.00315.15
7.0.150.0090.00015.24
7.0.140.0120.00415.62
7.0.130.0090.00315.42
7.0.120.0030.00915.22
7.0.110.0090.00615.26
7.0.100.0040.00815.44
7.0.90.0070.00715.36
7.0.80.0040.01115.55
7.0.70.0030.01015.39
7.0.60.0210.03717.67
7.0.50.0070.04016.58
7.0.40.0020.04916.76
7.0.30.0150.04516.73
7.0.20.0090.02616.71
7.0.10.0060.02316.66
7.0.00.0030.05116.87
5.6.380.0040.00714.48
5.6.370.0070.00714.35
5.6.360.0120.00014.18
5.6.350.0030.00714.22
5.6.340.0030.00614.21
5.6.330.0030.00714.62
5.6.320.0000.00913.87
5.6.310.0050.00514.24
5.6.300.0070.01014.40
5.6.290.0070.00414.40
5.6.280.0030.04217.68
5.6.270.0120.00014.26
5.6.260.0030.01314.20
5.6.250.0030.01014.12
5.6.240.0120.00314.28
5.6.230.0030.01014.45
5.6.220.0040.01114.27
5.6.210.0080.04717.63
5.6.200.0070.03216.31
5.6.190.0050.03717.44
5.6.180.0180.03917.38
5.6.170.0230.04017.28
5.6.160.0120.04017.52
5.6.150.0050.03516.22
5.6.140.0020.02716.22
5.6.130.0070.03916.30
5.6.120.0100.04417.52
5.6.110.0060.04617.67
5.6.100.0170.03617.59
5.6.90.0070.04517.38
5.6.80.0080.02017.40
5.6.70.0000.01514.30
5.6.60.0100.00314.18
5.6.50.0090.00613.94
5.6.40.0030.00714.02
5.6.30.0030.01314.17
5.6.20.0050.00314.20
5.6.10.0090.00013.90
5.6.00.0030.00914.35
5.5.380.0030.00310.98
5.5.370.0080.00311.11
5.5.360.0070.00310.92
5.5.350.0100.01615.65
5.5.340.0060.02314.49
5.5.330.0060.02215.58
5.5.320.0320.03815.53
5.5.310.0150.02315.63
5.5.300.0100.02414.56
5.5.290.0080.04014.44
5.5.280.0030.02215.90
5.5.270.0040.04415.90
5.5.260.0050.03816.00
5.5.250.0030.04815.84
5.5.240.0180.02815.58
5.5.230.0080.00410.77
5.5.220.0030.00511.06
5.5.210.0070.00410.93
5.5.200.0090.00310.84
5.5.190.0090.00311.02
5.5.180.0070.00310.99
5.5.170.0050.00311.03
5.5.160.0030.00310.74
5.5.150.0040.00411.14
5.5.140.0060.00611.09
5.5.130.0090.00310.87
5.5.120.0000.00610.84
5.5.110.0050.00511.20
5.5.100.0110.00011.05
5.5.90.0000.00711.03
5.5.80.0030.00911.14
5.5.70.0040.00411.11
5.5.60.0000.00711.11
5.5.50.0080.00410.73
5.5.40.0060.00310.67
5.5.30.0000.00610.89
5.5.20.0000.01210.81
5.5.10.0030.00310.79
5.5.00.0000.00610.96

preferences:
57.84 ms | 401 KiB | 5 Q