3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = array( array( 'tag_name' => array('google', 'Yahoo') ), array( 'tag_name' => array('technology', 'andsuch') ) ); echo implode(', ', array_map(function ($entry) { return $entry['tag_name']; }, $input));

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.70.0100.01016.75
8.3.60.0140.00716.72
8.3.50.0110.01022.15
8.3.40.0120.00918.59
8.3.30.0100.00319.13
8.3.20.0050.00220.33
8.3.10.0040.00423.66
8.3.00.0080.00019.25
8.2.180.0090.00916.63
8.2.170.0110.00422.96
8.2.160.0070.01020.43
8.2.150.0060.00324.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0020.00522.25
8.2.110.0070.00422.25
8.2.100.0000.01118.03
8.2.90.0060.00319.22
8.2.80.0090.00018.16
8.2.70.0060.00317.63
8.2.60.0030.00618.04
8.2.50.0000.00819.38
8.2.40.0030.00519.88
8.2.30.0040.00418.01
8.2.20.0080.00017.73
8.2.10.0070.00018.04
8.2.00.0000.00717.62
8.1.280.0150.00425.92
8.1.270.0080.00023.94
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0060.00323.82
8.1.230.0080.00318.88
8.1.220.0000.00717.74
8.1.210.0060.00318.77
8.1.200.0000.00917.35
8.1.190.0060.00317.35
8.1.180.0030.00718.10
8.1.170.0080.00018.57
8.1.160.0070.00022.07
8.1.150.0040.00418.65
8.1.140.0040.00417.44
8.1.130.0070.00017.80
8.1.120.0030.00417.37
8.1.110.0040.00417.41
8.1.100.0000.00817.48
8.1.90.0000.00717.40
8.1.80.0040.00417.41
8.1.70.0030.00317.41
8.1.60.0000.00917.49
8.1.50.0030.00517.54
8.1.40.0000.00717.41
8.1.30.0040.00417.58
8.1.20.0030.00517.55
8.1.10.0070.00017.57
8.1.00.0030.00517.51
8.0.300.0040.00420.79
8.0.290.0050.00217.05
8.0.280.0070.00018.44
8.0.270.0030.00317.12
8.0.260.0030.00317.12
8.0.250.0000.00716.97
8.0.240.0000.00616.89
8.0.230.0030.00316.81
8.0.220.0070.00016.85
8.0.210.0000.00716.89
8.0.200.0000.00717.05
8.0.190.0080.00016.91
8.0.180.0040.00416.92
8.0.170.0000.00716.96
8.0.160.0000.00716.98
8.0.150.0050.00216.89
8.0.140.0070.00016.79
8.0.130.0060.00013.41
8.0.120.0000.00816.88
8.0.110.0040.00416.93
8.0.100.0000.00717.02
8.0.90.0040.00417.02
8.0.80.0090.00616.90
8.0.70.0000.00716.82
8.0.60.0050.00216.98
8.0.50.0040.00416.95
8.0.30.0100.01417.00
8.0.20.0110.00717.40
8.0.10.0000.00716.93
8.0.00.0080.01016.85
7.4.330.0000.00515.07
7.4.320.0030.00316.43
7.4.300.0000.00716.61
7.4.290.0000.00716.52
7.4.280.0040.00416.52
7.4.270.0000.00716.49
7.4.260.0000.00716.48
7.4.250.0000.00716.36
7.4.240.0030.00416.60
7.4.230.0040.00416.52
7.4.220.0070.01116.52
7.4.210.0050.01016.47
7.4.200.0000.00716.53
7.4.190.0000.00716.66
7.4.160.0040.01516.48
7.4.150.0000.01617.40
7.4.140.0100.01017.86
7.4.130.0090.00716.61
7.4.120.0100.00716.61
7.4.110.0030.01316.44
7.4.100.0150.00316.48
7.4.90.0110.00716.49
7.4.80.0100.01319.39
7.4.70.0040.01416.38
7.4.60.0080.00816.35
7.4.50.0000.00616.29
7.4.40.0060.01316.73
7.4.30.0140.00316.42
7.4.00.0050.00914.93
7.3.330.0000.00613.22
7.3.320.0020.00213.38
7.3.310.0030.00316.31
7.3.300.0030.00316.37
7.3.290.0100.00316.30
7.3.280.0100.00716.25
7.3.270.0070.01317.40
7.3.260.0130.00516.51
7.3.250.0100.00816.49
7.3.240.0120.00616.38
7.3.230.0130.00716.46
7.3.210.0000.02016.41
7.3.200.0100.01019.39
7.3.190.0110.01116.42
7.3.180.0130.00316.41
7.3.170.0100.01316.44
7.3.160.0000.01616.36
7.3.120.0070.00814.71
7.3.110.0120.00614.62
7.3.100.0000.01015.01
7.3.90.0060.00314.72
7.3.80.0040.00414.96
7.3.70.0080.00414.82
7.3.60.0060.00314.53
7.3.50.0100.00314.67
7.3.40.0110.00014.70
7.3.30.0040.00814.67
7.3.20.0030.00916.71
7.3.10.0050.00716.66
7.3.00.0040.01216.51
7.2.330.0090.00916.56
7.2.320.0170.01116.69
7.2.310.0120.00916.65
7.2.300.0120.00916.51
7.2.290.0090.00916.41
7.2.250.0130.00614.78
7.2.240.0060.01315.25
7.2.230.0060.01315.28
7.2.220.0030.00715.09
7.2.210.0110.00415.02
7.2.200.0080.00314.95
7.2.190.0000.01415.04
7.2.180.0040.01115.03
7.2.170.0040.00815.08
7.2.130.0070.00716.88
7.2.120.0140.00016.93
7.2.110.0030.00916.70
7.2.100.0070.01016.96
7.2.90.0060.00616.71
7.2.80.0090.00616.96
7.2.70.0000.01616.91
7.2.60.0090.00616.56
7.2.50.0080.00417.01
7.2.40.0060.00616.79
7.2.30.0040.01116.90
7.2.20.0000.01116.75
7.2.10.0000.00916.95
7.2.00.0030.00917.95
7.1.330.0070.01016.00
7.1.320.0030.01016.04
7.1.310.0040.00815.89
7.1.300.0070.00715.76
7.1.290.0070.00715.77
7.1.280.0090.00015.71
7.1.270.0070.00715.43
7.1.260.0030.00715.73
7.1.250.0090.00015.82
7.1.100.0280.00718.09
7.1.70.0040.00916.62
7.1.60.0140.01119.46
7.1.50.0230.01334.82
7.1.00.0030.07722.33
7.0.200.0000.00716.75
7.0.140.0100.06721.97
7.0.60.0130.05319.87
7.0.50.0070.07317.96
7.0.40.0100.04020.29
7.0.30.0300.08020.26
7.0.20.0300.07720.22
7.0.10.0100.07720.21
7.0.00.0170.05020.23
5.6.280.0030.07321.05
5.6.210.0000.05020.61
5.6.200.0030.05018.19
5.6.190.0000.05320.61
5.6.180.0100.04320.39
5.6.170.0330.04720.52
5.6.160.0030.07320.37
5.6.150.0000.04718.29
5.6.140.0100.07018.15
5.6.130.0200.03018.21
5.6.120.0170.07320.99
5.6.110.0070.04320.98
5.6.100.0070.03721.02
5.6.90.0130.07721.07
5.6.80.0130.05720.48
5.5.350.2630.03320.34
5.5.340.0030.08317.96
5.5.330.0070.04020.45
5.5.320.0270.06320.33
5.5.310.0200.04320.36
5.5.300.0030.05018.05
5.5.290.0070.08317.95
5.5.280.0130.07720.80
5.5.270.0070.07720.79
5.5.260.0100.07320.76
5.5.250.0030.04720.79
5.5.240.0070.04020.37
5.4.450.0230.05719.58
5.4.440.0330.04319.45
5.4.430.0130.06719.33
5.4.420.0330.04319.30
5.4.410.0270.05719.07
5.4.400.0230.06719.33
5.4.390.0200.06318.98
5.4.380.0130.07718.81
5.4.370.0030.06318.76
5.4.360.0200.04318.50
5.4.350.0230.06318.80
5.4.340.0130.07018.79
5.4.320.0050.03712.50
5.4.310.0100.04512.50
5.4.300.0060.03712.50
5.4.290.0130.07912.50
5.4.280.0060.04812.39
5.4.270.0090.04912.39
5.4.260.0170.04612.39
5.4.250.0090.04612.39
5.4.240.0060.04912.39
5.4.230.0100.04012.38
5.4.220.0050.04412.39
5.4.210.0030.04112.39
5.4.200.0100.04312.38
5.4.190.0060.03612.38
5.4.180.0100.03512.38
5.4.170.0090.03312.40
5.4.160.0130.05712.39
5.4.150.0040.04012.39
5.4.140.0070.04212.07
5.4.130.0070.03612.06
5.4.120.0090.04512.02
5.4.110.0040.03912.01
5.4.100.0080.04412.02
5.4.90.0050.03912.02
5.4.80.0070.04312.02
5.4.70.0100.05612.01
5.4.60.0090.03712.00
5.4.50.0130.05312.01
5.4.40.0090.03912.00
5.4.30.0060.03912.00
5.4.20.0030.04411.99
5.4.10.0080.03712.00
5.4.00.0090.03611.48
5.3.290.0070.03812.80
5.3.280.0050.04112.71
5.3.270.0080.05812.73
5.3.260.0050.05412.72
5.3.250.0090.06312.72
5.3.240.0140.05912.72
5.3.230.0070.07312.71
5.3.220.0170.07112.68
5.3.210.0080.04712.68
5.3.200.0100.04212.68
5.3.190.0080.03912.68
5.3.180.0080.04912.67
5.3.170.0090.05612.67
5.3.160.0150.03712.68
5.3.150.0090.03812.68
5.3.140.0090.04812.66
5.3.130.0100.05612.66
5.3.120.0090.06012.65
5.3.110.0190.05712.66
5.3.100.0110.06512.12
5.3.90.0060.04112.09
5.3.80.0100.03512.09
5.3.70.0100.03512.09
5.3.60.0050.03712.07
5.3.50.0160.03712.02
5.3.40.0110.04512.02
5.3.30.0100.04511.98
5.3.20.0070.04011.76
5.3.10.0080.04311.72
5.3.00.0080.04211.72
5.2.170.0110.0429.18
5.2.160.0050.0399.18
5.2.150.0100.0409.19
5.2.140.0090.0299.18
5.2.130.0180.0519.14
5.2.120.0090.0449.14
5.2.110.0120.0449.15
5.2.100.0060.0409.14
5.2.90.0190.0799.14
5.2.80.0040.0369.13
5.2.70.0070.0339.14
5.2.60.0070.0349.10
5.2.50.0080.0369.06
5.2.40.0060.0359.04
5.2.30.0150.0639.02
5.2.20.0100.0519.00
5.2.10.0110.0448.93
5.2.00.0060.0308.79
5.1.60.0040.0258.07
5.1.50.0040.0308.07
5.1.40.0050.0278.05
5.1.30.0050.0318.40
5.1.20.0060.0308.42
5.1.10.0050.0308.14
5.1.00.0040.0318.15
5.0.50.0040.0226.62
5.0.40.0120.0396.48
5.0.30.0100.0776.29
5.0.20.0110.0476.26
5.0.10.0050.0476.24
5.0.00.0070.0496.23
4.4.90.0040.0284.78
4.4.80.0080.0284.76
4.4.70.0100.0424.75
4.4.60.0090.0354.75
4.4.50.0040.0474.77
4.4.40.0090.0554.71
4.4.30.0070.0344.75
4.4.20.0120.0314.84
4.4.10.0100.0494.85
4.4.00.0140.0724.76
4.3.110.0070.0344.67
4.3.100.0110.0444.66
4.3.90.0180.0474.64
4.3.80.0050.0434.58
4.3.70.0030.0304.63
4.3.60.0030.0174.63
4.3.50.0030.0194.63
4.3.40.0040.0344.54
4.3.30.0030.0223.29
4.3.20.0030.0173.27
4.3.10.0050.0173.22
4.3.00.0130.0207.34

preferences:
35.29 ms | 401 KiB | 5 Q