3v4l.org

run code in 300+ PHP versions simultaneously
<?php $result = []; $arr = array(['description1'], ['description2'], 'description3', 'description4', 'description5'); //example array_walk_recursive($arr, function($v, $k)use(&$result){ $result[] = $v; }); $result = array_chunk($result, 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.0140.00016.50
8.3.50.0130.00521.97
8.3.40.0070.00718.64
8.3.30.0070.00719.14
8.3.20.0070.00020.34
8.3.10.0040.00421.73
8.3.00.0050.00319.38
8.2.180.0130.01018.41
8.2.170.0060.00822.96
8.2.160.0120.00820.35
8.2.150.0050.00324.18
8.2.140.0050.00324.66
8.2.130.0070.00026.16
8.2.120.0050.00319.35
8.2.110.0070.00322.25
8.2.100.0070.00417.97
8.2.90.0080.00017.60
8.2.80.0060.00318.72
8.2.70.0040.00418.16
8.2.60.0050.00217.93
8.2.50.0050.00218.10
8.2.40.0050.00220.50
8.2.30.0030.00318.10
8.2.20.0050.00317.70
8.2.10.0030.00518.12
8.2.00.0000.00817.77
8.1.280.0100.00725.92
8.1.270.0040.00418.77
8.1.260.0030.00626.35
8.1.250.0040.00428.09
8.1.240.0090.00021.00
8.1.230.0040.00822.62
8.1.220.0030.00518.55
8.1.210.0040.00418.77
8.1.200.0080.00017.35
8.1.190.0030.00619.13
8.1.180.0000.00818.10
8.1.170.0030.00618.59
8.1.160.0040.00422.20
8.1.150.0000.00718.80
8.1.140.0040.00417.45
8.1.130.0070.00017.81
8.1.120.0000.00717.42
8.1.110.0030.00517.51
8.1.100.0030.00417.46
8.1.90.0030.00517.39
8.1.80.0000.00717.50
8.1.70.0030.00317.35
8.1.60.0100.00317.55
8.1.50.0040.00417.57
8.1.40.0040.00417.41
8.1.30.0000.00817.55
8.1.20.0080.00017.66
8.1.10.0030.00617.44
8.1.00.0080.00317.43
8.0.300.0040.00418.77
8.0.290.0030.00616.75
8.0.280.0000.00918.35
8.0.270.0030.00317.17
8.0.260.0000.00717.17
8.0.250.0030.00316.96
8.0.240.0070.00017.01
8.0.230.0000.00716.96
8.0.220.0070.00016.87
8.0.210.0070.00016.89
8.0.200.0000.00916.83
8.0.190.0030.00316.91
8.0.180.0040.00416.80
8.0.170.0040.00416.87
8.0.160.0000.00716.86
8.0.150.0070.00016.87
8.0.140.0040.00416.74
8.0.130.0040.00413.29
8.0.120.0030.00516.88
8.0.110.0040.00416.79
8.0.100.0040.00316.87
8.0.90.0000.00716.68
8.0.80.0070.01716.79
8.0.70.0000.00916.93
8.0.60.0040.00416.92
8.0.50.0040.00416.79
8.0.30.0140.01117.17
8.0.20.0160.02617.40
8.0.10.0000.00817.01
8.0.00.0130.00816.78
7.4.330.0070.00015.03
7.4.320.0000.00816.49
7.4.300.0060.00016.60
7.4.290.0060.00316.55
7.4.280.0050.00316.58
7.4.270.0070.00016.60
7.4.260.0000.00716.58
7.4.250.0030.00516.36
7.4.240.0000.00716.58
7.4.230.0030.00316.38
7.4.220.0150.01116.50
7.4.210.0080.01216.53
7.4.200.0040.00416.38
7.4.160.0030.01316.64
7.4.150.0160.00617.40
7.4.140.0150.00717.86
7.4.130.0080.01216.51
7.4.120.0080.01016.50
7.4.110.0170.00316.43
7.4.100.0140.00416.37
7.4.90.0080.00816.57
7.4.80.0090.01019.39
7.4.70.0090.00816.41
7.4.60.0000.01516.58
7.4.50.0000.00516.14
7.4.40.0090.00916.54
7.4.30.0100.01016.50
7.4.00.0030.01014.62
7.3.330.0000.00613.30
7.3.320.0050.00913.27
7.3.310.0070.00016.16
7.3.300.0070.00016.27
7.3.290.0110.00616.29
7.3.280.0090.00716.27
7.3.270.0030.01717.40
7.3.260.0150.00316.48
7.3.250.0140.00516.36
7.3.240.0090.00616.51
7.3.230.0040.01516.39
7.3.210.0130.00616.46
7.3.200.0060.00919.39
7.3.190.0070.01016.61
7.3.180.0180.00316.40
7.3.170.0110.00516.38
7.3.160.0100.00516.26
7.3.120.0070.01014.59
7.3.110.0110.00015.00
7.3.100.0100.00314.77
7.3.90.0140.00314.72
7.3.80.0070.00714.67
7.3.70.0070.00714.79
7.3.60.0090.01014.77
7.3.50.0060.01214.48
7.3.40.0100.00314.73
7.3.30.0000.00814.62
7.3.20.0000.01316.78
7.3.10.0030.00916.82
7.3.00.0070.00716.58
7.2.330.0120.00616.68
7.2.320.0080.00816.55
7.2.310.0070.01016.50
7.2.300.0060.01116.66
7.2.290.0090.00916.72
7.2.240.0060.01314.64
7.2.230.0070.00715.03
7.2.220.0100.00715.14
7.2.210.0090.00615.11
7.2.200.0000.00915.15
7.2.190.0070.00715.04
7.2.180.0100.00714.72
7.2.170.0130.00315.05
7.2.160.0050.00514.69
7.2.150.0030.00916.79
7.2.140.0030.01216.88
7.2.130.0000.01316.89
7.2.120.0040.00716.92
7.2.110.0030.00917.00
7.2.100.0080.00316.79
7.2.90.0040.01217.05
7.2.80.0000.01416.71
7.2.70.0070.00717.05
7.2.60.0070.00716.84
7.2.50.0070.00716.75
7.2.40.0080.00416.95
7.2.30.0040.00816.98
7.2.20.0070.01016.85
7.2.10.0000.01217.02
7.2.00.0030.01017.82
7.1.330.0040.01515.98
7.1.320.0000.01515.73
7.1.310.0040.01115.91
7.1.300.0090.00615.52
7.1.290.0110.00415.75
7.1.280.0060.00615.83
7.1.270.0040.00415.82
7.1.260.0070.00415.62
7.1.250.0000.01415.68
7.1.100.0030.00617.91
7.1.70.0090.00317.28
7.1.60.0130.01319.50
7.1.50.0000.01116.97
7.1.00.0070.07322.44
7.0.200.0690.00314.56
7.0.140.0030.07321.91
7.0.60.0100.04320.01
7.0.50.0030.05317.95
7.0.40.0100.08020.30
7.0.30.0200.08720.13
7.0.20.0200.04720.12
7.0.10.0230.07320.06
7.0.00.0100.07720.05
5.6.280.0000.07021.02
5.6.210.0130.04720.54
5.6.200.0070.06018.19
5.6.190.0000.05720.60
5.6.180.0230.08020.75
5.6.170.0300.07320.50
5.6.160.0000.04320.61
5.6.150.0030.04018.24
5.6.140.0070.08318.15
5.6.130.0030.08318.23
5.6.120.0130.08020.98
5.6.110.0130.08321.00
5.6.100.0170.04720.98
5.6.90.0070.06721.03
5.6.80.0070.06320.41
5.6.70.0270.04020.48
5.5.350.0330.08320.33
5.5.340.0170.07018.00
5.5.330.0070.08020.21
5.5.320.0030.04320.27
5.5.310.0330.06720.41
5.5.300.0030.08318.00
5.5.290.0170.07018.07
5.5.280.0070.04020.80
5.5.270.0070.05320.89
5.5.260.0200.06020.84
5.5.250.0070.06320.46
5.5.240.0070.07020.27
5.4.450.0270.06019.55
5.4.440.0970.05319.16
5.4.430.1100.05719.48
5.4.420.0100.05319.59
5.4.410.0170.05318.95
5.4.400.1300.06718.53
5.4.390.1230.07018.63
5.4.380.1030.07718.80
5.4.370.1600.05718.58
5.4.360.1100.06318.61
5.4.350.1100.06018.85
5.4.340.1070.06018.52
5.4.320.1300.07318.49
5.4.310.1270.07018.59
5.4.300.1270.07718.74
5.4.290.1000.06318.74
5.4.280.1000.07718.73
5.4.270.1200.08018.82
5.4.260.0930.06318.75
5.4.250.1130.06318.71
5.4.240.1100.07318.69
5.4.230.1400.07318.84
5.4.220.1270.06318.68
5.4.210.1030.07318.51
5.4.200.1100.06016.67
5.4.190.1200.06318.72
5.4.180.1200.06318.61
5.4.170.1270.07018.77
5.4.160.1570.06718.71
5.4.150.1030.07318.59
5.4.140.1100.06016.25
5.4.130.1070.06716.19
5.4.120.1130.07016.20
5.4.110.0830.06016.29
5.4.100.1170.06716.16
5.4.90.0630.04716.25
5.4.80.0100.05716.16
5.4.70.1000.06016.27
5.4.60.1670.04716.28
5.4.50.1700.06016.15
5.4.40.1500.07016.14
5.4.30.1230.07016.28
5.4.20.1300.07316.27
5.4.10.1130.05316.25
5.4.00.1230.04715.75
5.3.290.1100.07714.65
5.3.280.1370.06714.56
5.3.270.1470.07714.59
5.3.260.1800.07014.58
5.3.250.1770.05314.53
5.3.240.1430.06314.58
5.3.230.1430.05714.54
5.3.220.0830.05014.65
5.3.210.1130.07014.63
5.3.200.1170.06714.48
5.3.190.1000.06014.51
5.3.180.1270.06014.64
5.3.170.1170.05014.52
5.3.160.1000.05314.47
5.3.150.1130.06014.49
5.3.140.1200.05314.66
5.3.130.1000.08314.55
5.3.120.1270.06714.50
5.3.110.1230.05314.54
5.3.100.1300.06014.02
5.3.90.1170.06013.89
5.3.80.1130.05014.04
5.3.70.0900.05714.11
5.3.60.0970.07014.03
5.3.50.0930.05313.93
5.3.40.1200.06013.92
5.3.30.1100.06713.90
5.3.20.1170.05313.59
5.3.10.1130.07313.64
5.3.00.1230.06013.61
5.2.170.0830.05011.20
5.2.160.1270.04711.18
5.2.150.1070.06311.17
5.2.140.1030.05311.18
5.2.130.1170.05711.23
5.2.120.1000.05011.13
5.2.110.0800.04311.13
5.2.100.1170.05011.25
5.2.90.0800.05011.06
5.2.80.0930.04011.15
5.2.70.0900.05011.12
5.2.60.1100.05011.07
5.2.50.1300.04711.16
5.2.40.0970.05311.02
5.2.30.0970.04310.88
5.2.20.0730.05310.98
5.2.10.1070.05310.91
5.2.00.0970.04010.85
5.1.60.0730.0339.95
5.1.50.1070.05010.04
5.1.40.0800.03710.00
5.1.30.0670.04010.38
5.1.20.0670.03710.32
5.1.10.0630.04010.20
5.1.00.0470.05010.05
5.0.50.0500.0338.52
5.0.40.0330.0338.46
5.0.30.0570.0438.24
5.0.20.0200.0308.26
5.0.10.0370.0338.26
5.0.00.0330.0508.33
4.4.90.0330.0275.90
4.4.80.0430.0275.88
4.4.70.0470.0275.89
4.4.60.0570.0305.88
4.4.50.0330.0275.91
4.4.40.0400.0335.90
4.4.30.0270.0235.87
4.4.20.0500.0175.93
4.4.10.0470.0235.97
4.4.00.0200.0405.93
4.3.110.0370.0375.88
4.3.100.0670.0335.75
4.3.90.0400.0275.78
4.3.80.0470.0305.76
4.3.70.0430.0235.85
4.3.60.0330.0275.80
4.3.50.0270.0205.78
4.3.40.0230.0475.78
4.3.30.0270.0274.55
4.3.20.0270.0274.52
4.3.10.0170.0304.56
4.3.00.0100.0236.75

preferences:
88.77 ms | 401 KiB | 5 Q