3v4l.org

run code in 300+ PHP versions simultaneously
<?php /* $input = array( array( 'tag_name' => 'google' ), array( 'tag_name' => 'technology' ) );*/ $input = "asd,jhg,lll"; echo implode(', ', $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.60.0110.00318.52
8.3.50.0100.01121.90
8.3.40.0070.00718.71
8.3.30.0070.00718.95
8.3.20.0030.00620.01
8.3.10.0040.00420.48
8.3.00.0000.00817.68
8.2.180.0120.00916.88
8.2.170.0150.00022.96
8.2.160.0070.00720.38
8.2.150.0040.00424.18
8.2.140.0030.00524.66
8.2.130.0040.00426.16
8.2.120.0030.00622.29
8.2.110.0000.00920.35
8.2.100.0040.00817.91
8.2.90.0060.00319.05
8.2.80.0030.00617.97
8.2.70.0030.00617.63
8.2.60.0060.00317.66
8.2.50.0060.00318.07
8.2.40.0000.00818.16
8.2.30.0050.00719.34
8.2.20.0040.00417.64
8.2.10.0030.00618.02
8.2.00.0000.00717.84
8.1.280.0100.01025.92
8.1.270.0040.01122.23
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0100.00023.98
8.1.230.0120.00019.06
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0070.00317.35
8.1.190.0030.00517.23
8.1.180.0040.00418.10
8.1.170.0040.00418.54
8.1.160.0040.00421.84
8.1.150.0070.00018.82
8.1.140.0000.00717.34
8.1.130.0030.00317.80
8.1.120.0040.00417.38
8.1.110.0040.00417.39
8.1.100.0030.00417.31
8.1.90.0000.00717.31
8.1.80.0000.00717.30
8.1.70.0040.00417.27
8.1.60.0000.00817.34
8.1.50.0000.00817.41
8.1.40.0040.00417.55
8.1.30.0040.00417.59
8.1.20.0000.00717.52
8.1.10.0070.00017.51
8.1.00.0030.00517.35
8.0.300.0000.00818.77
8.0.290.0080.00016.63
8.0.280.0000.00718.27
8.0.270.0070.00017.09
8.0.260.0070.00017.14
8.0.250.0000.00616.84
8.0.240.0040.00416.91
8.0.230.0000.00616.81
8.0.220.0030.00316.95
8.0.210.0040.00416.88
8.0.200.0000.00816.92
8.0.190.0040.00416.93
8.0.180.0070.00016.91
8.0.170.0040.00416.89
8.0.160.0040.00416.93
8.0.150.0000.00716.86
8.0.140.0070.00016.79
8.0.130.0060.00013.32
8.0.120.0080.00016.85
8.0.110.0070.00016.77
8.0.100.0040.00416.93
8.0.90.0000.00816.75
8.0.80.0090.00616.93
8.0.70.0000.00716.85
8.0.60.0070.00016.75
8.0.50.0040.00416.94
8.0.30.0120.00817.17
8.0.20.0090.01117.40
8.0.10.0040.00417.02
8.0.00.0080.01016.62
7.4.330.0000.00515.09
7.4.320.0030.00316.39
7.4.300.0040.00416.41
7.4.290.0030.00516.54
7.4.280.0040.00416.51
7.4.270.0030.00316.41
7.4.260.0030.00316.34
7.4.250.0040.00416.49
7.4.240.0020.00516.48
7.4.230.0000.00716.42
7.4.220.0100.01016.46
7.4.210.0060.00616.52
7.4.200.0070.00016.30
7.4.160.0100.00716.35
7.4.150.0060.01617.40
7.4.140.0080.00917.86
7.4.130.0110.00516.49
7.4.120.0120.00516.43
7.4.110.0040.01216.31
7.4.100.0130.00316.33
7.4.90.0100.00716.56
7.4.80.0030.01416.69
7.4.70.0080.00816.43
7.4.60.0060.01216.44
7.4.50.0000.00816.58
7.4.40.0090.00616.46
7.4.30.0100.00616.36
7.4.00.0030.01414.95
7.3.330.0000.00513.01
7.3.320.0000.00613.07
7.3.310.0070.00016.12
7.3.300.0040.00416.18
7.3.290.0000.01516.24
7.3.280.0030.01116.20
7.3.270.0030.02017.40
7.3.260.0080.00816.45
7.3.250.0040.01316.34
7.3.240.0160.00616.22
7.3.230.0140.00416.50
7.3.210.0070.01016.33
7.3.200.0120.00619.39
7.3.190.0080.01016.35
7.3.180.0090.00616.22
7.3.170.0080.00816.33
7.3.160.0100.00616.35
7.3.120.0070.01014.43
7.3.110.0060.01214.87
7.3.100.0000.01514.86
7.3.90.0090.00614.78
7.3.80.0070.00714.54
7.3.70.0030.00814.53
7.3.60.0030.01014.69
7.3.50.0060.00914.48
7.3.40.0030.01314.37
7.3.30.0070.00414.65
7.3.20.0000.01616.62
7.3.10.0000.01216.57
7.3.00.0030.01016.30
7.2.330.0220.00316.50
7.2.320.0120.00916.61
7.2.310.0030.01316.39
7.2.300.0100.00716.60
7.2.290.0060.01216.51
7.2.250.0060.01315.09
7.2.240.0000.01814.71
7.2.230.0040.01115.07
7.2.220.0000.01014.65
7.2.210.0040.01114.61
7.2.200.0000.01114.76
7.2.190.0040.01114.67
7.2.180.0030.01614.97
7.2.170.0040.01114.85
7.2.80.0150.00416.21
7.2.60.0040.01116.82
7.2.00.0030.00619.40
7.1.330.0040.01115.65
7.1.320.0110.00015.62
7.1.310.0100.00715.42
7.1.300.0070.01015.87
7.1.290.0040.01215.73
7.1.280.0040.00415.79
7.1.270.0040.01115.74
7.1.260.0040.00815.65
7.1.200.0060.00915.82
7.1.100.0610.00815.85
7.1.70.0000.00916.86
7.1.60.0150.01119.32
7.1.50.0000.01116.72
7.1.00.0000.08022.57
7.0.200.0060.00316.77
7.0.140.0000.07722.18
7.0.60.0170.07719.85
7.0.50.0030.08317.88
7.0.40.0130.08720.23
7.0.30.0470.04020.17
7.0.20.0200.08320.11
7.0.10.0070.08720.12
7.0.00.0070.04320.33
5.6.280.0000.07721.02
5.6.210.0070.08320.66
5.6.200.0030.08018.18
5.6.190.0000.04720.49
5.6.180.0400.03020.60
5.6.170.0330.06320.38
5.6.160.0100.08320.37
5.6.150.0030.08318.19
5.6.140.0030.07318.24
5.6.130.0100.06718.19
5.6.120.0130.08320.87
5.6.110.0100.08020.88
5.6.100.0100.05021.03
5.6.90.0100.09021.09
5.6.80.0200.06320.36
5.5.350.0200.08020.43
5.5.340.0100.05317.98
5.5.330.0030.04020.40
5.5.320.0430.03320.34
5.5.310.0330.07020.20
5.5.300.0000.07017.88
5.5.290.0000.09017.96
5.5.280.0170.07020.72
5.5.270.0070.04320.85
5.5.260.0170.05720.61
5.5.250.0130.07720.68
5.5.240.0200.06320.35
5.4.450.0330.05719.16
5.4.440.0430.07319.46
5.4.430.1070.05319.43
5.4.420.1030.06019.62
5.4.410.1130.05319.49
5.4.400.0970.05018.93
5.4.390.0100.05719.25
5.4.380.0370.06018.50
5.4.370.0500.05318.68
5.4.360.0330.06718.80
5.4.350.0300.05318.50
5.4.340.0400.04018.78
5.4.320.0060.03612.45
5.4.310.0050.03912.45
5.4.300.0020.04012.45
5.4.290.0050.03812.45
5.4.280.0060.03412.35
5.4.270.0080.03712.35
5.4.260.0080.04912.34
5.4.250.0040.04012.35
5.4.240.0060.03612.35
5.4.230.0060.04212.34
5.4.220.0040.03712.34
5.4.210.0040.04312.34
5.4.200.0020.04112.34
5.4.190.0080.04112.33
5.4.180.0050.03612.33
5.4.170.0080.04412.34
5.4.160.0080.03912.34
5.4.150.0050.03712.34
5.4.140.0070.04712.02
5.4.130.0040.03612.00
5.4.120.0050.04011.97
5.4.110.0100.04011.96
5.4.100.0060.03611.96
5.4.90.0070.04911.97
5.4.80.0080.04111.96
5.4.70.0060.03411.96
5.4.60.0060.03611.96
5.4.50.0100.03411.96
5.4.40.0050.03511.95
5.4.30.0060.03511.95
5.4.20.0030.03811.94
5.4.10.0070.03311.94
5.4.00.0070.03411.43
5.3.290.0040.04112.80
5.3.280.0050.03812.70
5.3.270.0080.03612.72
5.3.260.0080.03712.72
5.3.250.0020.04112.72
5.3.240.0050.03812.72
5.3.230.0070.03912.71
5.3.220.0040.04412.68
5.3.210.0050.04612.68
5.3.200.0070.03512.68
5.3.190.0040.03912.68
5.3.180.0070.03512.67
5.3.170.0070.03612.66
5.3.160.0080.03612.68
5.3.150.0100.03712.67
5.3.140.0040.04712.66
5.3.130.0080.03912.66
5.3.120.0060.04412.66
5.3.110.0040.04012.65
5.3.100.0050.04212.12
5.3.90.0040.03712.08
5.3.80.0060.03812.08
5.3.70.0050.03612.08
5.3.60.0020.04012.06
5.3.50.0050.03612.00
5.3.40.0030.03812.00
5.3.30.0050.03511.94
5.3.20.0090.03411.71
5.3.10.0090.04111.69
5.3.00.0040.03811.67
5.2.170.0050.0369.18
5.2.160.0060.0279.18
5.2.150.0020.0389.18
5.2.140.0050.0299.18
5.2.130.0050.0289.14
5.2.120.0050.0279.14
5.2.110.0050.0289.14
5.2.100.0050.0279.13
5.2.90.0060.0279.13
5.2.80.0030.0319.13
5.2.70.0080.0269.13
5.2.60.0030.0339.08
5.2.50.0060.0289.05
5.2.40.0050.0289.03
5.2.30.0050.0299.00
5.2.20.0030.0399.00
5.2.10.0040.0288.91
5.2.00.0070.0358.77
5.1.60.0070.0258.06
5.1.50.0030.0278.05
5.1.40.0070.0328.04
5.1.30.0040.0398.39
5.1.20.0060.0368.41
5.1.10.0060.0338.14
5.1.00.0050.0248.14
5.0.50.0010.0236.61
5.0.40.0030.0196.47
5.0.30.0030.0316.29
5.0.20.0030.0206.25
5.0.10.0050.0186.23
5.0.00.0050.0376.22
4.4.90.0000.0184.78
4.4.80.0020.0164.76
4.4.70.0040.0144.75
4.4.60.0040.0144.76
4.4.50.0040.0214.77
4.4.40.0030.0334.71
4.4.30.0040.0164.75
4.4.20.0030.0174.84
4.4.10.0060.0154.85
4.4.00.0030.0294.76
4.3.110.0020.0164.67
4.3.100.0050.0134.66
4.3.90.0040.0134.63
4.3.80.0030.0244.58
4.3.70.0040.0134.63
4.3.60.0030.0144.63
4.3.50.0060.0174.62
4.3.40.0010.0254.54
4.3.30.0010.0163.28
4.3.20.0020.0163.25
4.3.10.0010.0163.22
4.3.00.0030.0237.56

preferences:
59.08 ms | 401 KiB | 5 Q