3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = array( "foo" => "bar", "bar" => "foofoofoofoofoofoofoo", "name" => "name34234242224" ); $c = array_map("chunk_split", $input, array_fill(0, count($input), 5), array_fill(0, count($input), "")); print_r($c);

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.0150.00018.31
8.3.50.0120.00621.92
8.3.40.0150.00018.67
8.3.30.0120.00319.10
8.3.20.0040.00420.04
8.3.10.0040.00421.95
8.3.00.0050.00317.53
8.2.180.0150.00616.50
8.2.170.0110.00422.96
8.2.160.0170.00020.48
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0000.00726.16
8.2.120.0040.00421.16
8.2.110.0030.00622.11
8.2.100.0070.00418.03
8.2.90.0080.00019.28
8.2.80.0040.00417.97
8.2.70.0060.00317.50
8.2.60.0080.00017.91
8.2.50.0060.00318.07
8.2.40.0000.00718.09
8.2.30.0000.00818.35
8.2.20.0000.00717.64
8.2.10.0000.00718.11
8.2.00.0060.00317.61
8.1.280.0120.00325.92
8.1.270.0040.00423.84
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0040.00422.01
8.1.230.0000.01019.02
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0090.00017.25
8.1.190.0040.00417.23
8.1.180.0040.00418.10
8.1.170.0000.00918.63
8.1.160.0050.00222.01
8.1.150.0040.00418.93
8.1.140.0080.00017.48
8.1.130.0030.00317.70
8.1.120.0000.00717.33
8.1.110.0040.00417.50
8.1.100.0080.00017.43
8.1.90.0040.00417.33
8.1.80.0000.00817.44
8.1.70.0080.00017.38
8.1.60.0000.00917.47
8.1.50.0050.00317.56
8.1.40.0000.00717.49
8.1.30.0000.00817.61
8.1.20.0000.00717.71
8.1.10.0000.00817.41
8.1.00.0040.00417.34
8.0.300.0000.00718.77
8.0.290.0040.00416.63
8.0.280.0000.00718.43
8.0.270.0000.00717.08
8.0.260.0000.00617.19
8.0.250.0000.00616.87
8.0.240.0080.00316.80
8.0.230.0070.00016.88
8.0.220.0040.00416.81
8.0.210.0080.00016.70
8.0.200.0080.00016.89
8.0.190.0070.00016.87
8.0.180.0040.00416.76
8.0.170.0040.00416.78
8.0.160.0040.00416.75
8.0.150.0000.00716.70
8.0.140.0040.00416.72
8.0.130.0030.00313.31
8.0.120.0000.00816.86
8.0.110.0050.00216.82
8.0.100.0000.00716.82
8.0.90.0040.00416.88
8.0.80.0090.01216.84
8.0.70.0040.00416.72
8.0.60.0000.00716.93
8.0.50.0070.00016.92
8.0.30.0100.00916.81
8.0.20.0130.00617.40
8.0.10.0040.00416.88
8.0.00.0080.00916.75
7.4.330.0000.00615.09
7.4.320.0030.00316.50
7.4.300.0030.00316.63
7.4.290.0000.00816.50
7.4.280.0070.00016.59
7.4.270.0030.00316.52
7.4.260.0000.00916.49
7.4.250.0070.00016.59
7.4.240.0040.00416.62
7.4.230.0070.00016.38
7.4.220.0030.01516.62
7.4.210.0060.00616.54
7.4.200.0030.00316.63
7.4.160.0040.01216.30
7.4.150.0100.01317.40
7.4.140.0110.00517.86
7.4.130.0080.00916.51
7.4.120.0060.01116.50
7.4.110.0120.00616.33
7.4.100.0100.01016.35
7.4.90.0000.01616.29
7.4.80.0100.01019.39
7.4.70.0070.01116.24
7.4.60.0100.00616.45
7.4.50.0000.00816.43
7.4.40.0030.01516.47
7.4.30.0140.00316.64
7.4.00.0000.01415.11
7.3.330.0050.00013.04
7.3.320.0000.00613.11
7.3.310.0000.00716.08
7.3.300.0070.00016.05
7.3.290.0160.00316.13
7.3.280.0100.00816.21
7.3.270.0100.00717.40
7.3.260.0110.00816.15
7.3.250.0050.01316.22
7.3.240.0130.00616.17
7.3.230.0120.00916.39
7.3.210.0120.00616.44
7.3.200.0060.01219.39
7.3.190.0100.00716.50
7.3.180.0080.00816.27
7.3.170.0090.00616.54
7.3.160.0030.01216.32
7.3.120.0070.01014.48
7.3.10.0090.00416.58
7.3.00.0080.00516.48
7.2.330.0030.01516.29
7.2.320.0060.01016.59
7.2.310.0130.00316.53
7.2.300.0090.00616.25
7.2.290.0070.01016.66
7.2.130.0090.00816.79
7.2.120.0030.00916.69
7.2.110.0020.01216.79
7.2.100.0020.01216.74
7.2.90.0140.00416.89
7.2.80.0080.00716.66
7.2.70.0050.00516.62
7.2.60.0130.00216.79
7.2.50.0070.00516.85
7.2.40.0050.01216.74
7.2.30.0130.00316.78
7.2.20.0100.00416.90
7.2.10.0070.00716.77
7.2.00.0050.01016.89
7.1.250.0070.00915.69
7.1.240.0030.01315.77
7.1.230.0000.01215.60
7.1.220.0090.00015.55
7.1.210.0030.00615.64
7.1.200.0040.01115.70
7.1.190.0030.01115.80
7.1.180.0120.00015.68
7.1.170.0100.00315.77
7.1.160.0160.00315.59
7.1.150.0030.01015.62
7.1.140.0000.01315.58
7.1.130.0050.00515.66
7.1.120.0070.00315.76
7.1.110.0110.00415.67
7.1.100.0060.00316.88
7.1.90.0060.00615.82
7.1.80.0000.00815.69
7.1.70.0140.00316.34
7.1.60.0080.00616.48
7.1.50.0080.00825.15
7.1.40.0030.01015.68
7.1.30.0080.00815.67
7.1.20.0000.00815.63
7.1.10.0090.01215.78
7.1.00.0050.04119.06
7.0.330.0000.01215.31
7.0.320.0030.00615.13
7.0.310.0060.00315.14
7.0.300.0060.00315.37
7.0.290.0030.00615.23
7.0.280.0030.01015.19
7.0.270.0070.00715.18
7.0.260.0000.01115.38
7.0.250.0130.00315.40
7.0.240.0040.00815.54
7.0.230.0130.00315.43
7.0.220.0000.01115.32
7.0.210.0000.01415.16
7.0.200.0080.00515.90
7.0.190.0030.00715.27
7.0.180.0030.00715.24
7.0.170.0100.00315.25
7.0.160.0070.01015.33
7.0.150.0140.00715.16
7.0.140.0100.03318.74
7.0.130.0040.01115.27
7.0.120.0060.00615.39
7.0.110.0090.00915.31
7.0.100.0090.00615.36
7.0.90.0100.00715.16
7.0.80.0060.01315.17
7.0.70.0070.01015.10
7.0.60.0090.04417.81
7.0.50.0050.02616.54
7.0.40.0100.04516.81
7.0.30.0330.03516.79
7.0.20.0200.03516.85
7.0.10.0090.03016.89
7.0.00.0050.04916.79
5.6.380.0100.00313.96
5.6.370.0070.01013.97
5.6.360.0080.00613.85
5.6.350.0030.01014.57
5.6.340.0070.00314.58
5.6.330.0070.00314.27
5.6.320.0030.00714.06
5.6.310.0090.00614.48
5.6.300.0070.00314.11
5.6.290.0060.00614.45
5.6.280.0100.03517.56
5.6.270.0140.00313.97
5.6.260.0070.01014.14
5.6.250.0100.00614.07
5.6.240.0070.00714.20
5.6.230.0030.01114.04
5.6.220.0120.00314.15
5.6.210.0080.04517.28
5.6.200.0050.02316.21
5.6.190.0070.04917.40
5.6.180.1530.02817.40
5.6.170.0150.03217.22
5.6.160.0090.02517.35
5.6.150.0050.04516.15
5.6.140.0060.04516.25
5.6.130.0080.02216.11
5.6.120.0100.02017.48
5.6.110.0140.03617.57
5.6.100.0140.03717.49
5.6.90.0130.04217.60
5.6.80.0140.04317.32
5.6.70.1820.02017.29
5.6.60.0090.00914.04
5.6.50.0130.00613.93
5.6.40.0030.00513.97
5.6.30.0000.01014.13
5.6.20.0030.00513.77
5.6.10.0060.00613.79
5.6.00.0060.00614.05
5.5.380.0040.00810.90
5.5.370.0060.00610.99
5.5.360.0090.00510.86
5.5.350.0070.04515.67
5.5.340.0070.04414.51
5.5.330.0170.02915.58
5.5.320.0080.02615.67
5.5.310.0310.03315.71
5.5.300.0110.04514.49
5.5.290.0070.04614.49
5.5.280.0110.04815.82
5.5.270.0050.03815.84
5.5.260.0090.04515.89
5.5.250.0100.02415.84
5.5.240.0130.02815.42
5.5.230.0200.00310.93
5.5.220.0150.00810.53
5.5.210.0160.00610.69
5.5.200.0030.01010.42
5.5.190.0040.00410.76
5.5.180.0030.00911.03
5.5.170.0030.00310.75
5.5.160.0030.00710.83
5.5.150.0060.00310.92
5.5.140.0030.01011.15
5.5.130.0000.00711.15
5.5.120.0060.00611.10
5.5.110.0000.00511.16
5.5.100.0070.00310.71
5.5.90.0050.00010.66
5.5.80.0060.00311.12
5.5.70.0070.00311.12
5.5.60.0000.00810.43
5.5.50.0060.00310.83
5.5.40.0030.00310.88
5.5.30.0000.00710.84
5.5.20.0080.00310.81
5.5.10.0030.00710.96
5.5.00.0000.01010.56
5.4.450.0180.04215.09
5.4.440.0210.03615.29
5.4.430.0130.03115.31
5.4.420.0110.02715.21
5.4.410.0130.04115.15
5.4.400.0150.02814.89
5.4.390.0180.03615.13
5.4.380.0190.03715.10
5.4.370.0180.03515.03
5.4.360.0130.02515.14
5.4.350.0150.03814.94
5.4.340.0120.02215.09
5.4.330.0070.00311.02
5.4.320.0130.02415.16
5.4.310.0100.03215.19
5.4.300.0130.02514.88
5.4.290.0100.04015.06
5.4.280.0150.03515.18
5.4.270.0130.03914.98
5.4.260.0130.03215.04
5.4.250.0120.03415.05
5.4.240.0150.02315.28
5.4.230.0100.03014.89
5.4.220.0110.04314.94
5.4.210.0120.02114.86
5.4.200.0140.04015.07
5.4.190.0130.02314.90
5.4.180.0100.02515.00
5.4.170.0170.03815.12
5.4.160.0130.03614.98
5.4.150.0150.03015.01
5.4.140.0150.02513.73
5.4.130.0150.02913.48
5.4.120.0130.03513.61
5.4.110.0130.03713.71
5.4.100.0100.02113.86
5.4.90.0180.01513.67
5.4.80.0110.02113.76
5.4.70.0110.01913.72
5.4.60.0130.01813.57
5.4.50.0170.01513.54
5.4.40.0130.02213.75
5.4.30.0140.01713.87
5.4.20.0050.02313.75
5.4.10.0110.04113.74
5.4.00.0160.01513.45
5.3.290.0130.02012.52
5.3.280.0150.04012.63
5.3.270.0120.03612.59
5.3.260.0170.04312.62
5.3.250.0210.02812.58
5.3.240.0170.03312.49
5.3.230.0210.03512.64
5.3.220.0100.03412.51
5.3.210.0120.03412.51
5.3.200.0150.03512.58
5.3.190.0100.02012.53
5.3.180.0070.02512.59
5.3.170.0130.02012.68
5.3.160.0130.01812.63
5.3.150.0110.01812.47
5.3.140.0120.02012.50
5.3.130.0070.02312.47
5.3.120.0090.02212.51
5.3.110.0080.02012.34
5.3.100.0100.02012.33
5.3.90.0130.03912.28
5.3.80.0180.03012.08
5.3.70.0100.03112.21
5.3.60.0120.01912.26
5.3.50.0090.02212.23
5.3.40.0100.01912.21
5.3.30.0120.01912.14
5.3.20.0140.01812.05
5.3.10.0090.02011.97
5.3.00.0110.01811.87
5.2.170.0060.01810.91
5.2.160.0050.02010.91
5.2.150.0070.01810.91
5.2.140.0060.01810.91
5.2.130.0050.02110.91
5.2.120.0100.01510.91
5.2.110.0100.01310.91
5.2.100.0080.01510.91
5.2.90.0080.01710.91
5.2.80.0050.02010.91
5.2.70.0070.01810.91
5.2.60.0110.01310.91
5.2.50.0070.01710.91
5.2.40.0050.01910.91
5.2.30.0110.01010.91
5.2.20.0070.01910.91
5.2.10.0060.01810.91
5.2.00.0090.01510.91
5.1.60.0060.01510.91
5.1.50.0080.01310.91
5.1.40.0030.01610.91
5.1.30.0050.01710.91
5.1.20.0080.01510.91
5.1.10.0050.01610.91
5.1.00.0030.01610.91
5.0.50.0020.01410.91
5.0.40.0050.01210.91
5.0.30.0030.01710.91
5.0.20.0050.02210.91
5.0.10.0050.02210.91
5.0.00.0070.03010.91
4.4.90.0030.01010.91
4.4.80.0070.00710.91
4.4.70.0000.01210.91
4.4.60.0020.01210.91
4.4.50.0000.01310.91
4.4.40.0050.01310.91
4.4.30.0020.01210.91
4.4.20.0030.01110.91
4.4.10.0030.00910.91
4.4.00.0030.01310.91
4.3.110.0010.01110.91
4.3.100.0080.01510.91
4.3.90.0050.01810.91
4.3.80.0040.02510.91
4.3.70.0050.01910.91
4.3.60.0070.01710.91
4.3.50.0070.01810.91
4.3.40.0050.02810.91
4.3.30.0070.01410.91
4.3.20.0020.02210.91
4.3.10.0050.01710.91
4.3.00.0030.01710.91

preferences:
39.88 ms | 401 KiB | 5 Q