3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array('string1' , 'string2' , 'string3'); echo implode($array);

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.4.10.0030.00617.54
8.3.140.0060.00318.53
8.3.130.0030.00618.25
8.3.120.0030.00618.70
8.3.110.0090.00020.94
8.3.100.0060.00324.06
8.3.90.0080.00026.77
8.3.80.0090.00316.63
8.3.70.0070.01116.58
8.3.60.0100.00716.38
8.3.50.0120.00618.06
8.3.40.0080.01218.44
8.3.30.0060.00918.48
8.3.20.0050.00318.84
8.3.10.0000.00823.71
8.3.00.0040.00421.02
8.2.260.0000.00916.75
8.2.250.0000.00818.41
8.2.240.0090.00017.24
8.2.230.0080.00322.58
8.2.220.0030.01337.54
8.2.210.0040.00426.77
8.2.200.0050.00516.75
8.2.190.0040.01116.58
8.2.180.0070.00725.92
8.2.170.0150.00418.73
8.2.160.0160.00322.96
8.2.150.0000.00725.66
8.2.140.0000.00824.66
8.2.130.0080.00021.12
8.2.120.0000.00726.35
8.2.110.0070.00419.45
8.2.100.0040.00817.78
8.2.90.0050.00318.16
8.2.80.0080.00418.82
8.2.70.0040.00417.50
8.2.60.0030.00617.75
8.2.50.0050.00317.63
8.2.40.0050.00222.19
8.2.30.0040.00419.17
8.2.20.0040.00418.11
8.2.10.0070.00017.85
8.2.00.0040.00419.38
8.1.310.0040.00418.24
8.1.300.0040.00419.83
8.1.290.0120.00018.88
8.1.280.0100.00725.92
8.1.270.0050.00523.86
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0090.00022.13
8.1.230.0000.01222.63
8.1.220.0060.00317.79
8.1.210.0000.00818.77
8.1.200.0040.00417.35
8.1.190.0000.01117.23
8.1.180.0060.00318.10
8.1.170.0050.00318.50
8.1.160.0080.00018.82
8.1.150.0040.00418.87
8.1.140.0070.00021.99
8.1.130.0000.00819.18
8.1.120.0080.00017.28
8.1.110.0040.00417.42
8.1.100.0030.00517.33
8.1.90.0030.00617.25
8.1.80.0000.00917.38
8.1.70.0000.00717.39
8.1.60.0050.00317.55
8.1.50.0000.00717.35
8.1.40.0040.00417.34
8.1.30.0040.00417.60
8.1.20.0040.00417.45
8.1.10.0040.00417.37
8.1.00.0030.00517.32
8.0.300.0030.00519.98
8.0.290.0040.00416.75
8.0.280.0000.00818.39
8.0.270.0030.00316.80
8.0.260.0070.00016.86
8.0.250.0040.00416.98
8.0.240.0050.00216.83
8.0.230.0070.00016.79
8.0.220.0000.00716.78
8.0.210.0030.00516.84
8.0.200.0000.00616.90
8.0.190.0000.00716.89
8.0.180.0030.00316.87
8.0.170.0060.00316.84
8.0.160.0040.00416.86
8.0.150.0000.00716.78
8.0.140.0050.00316.76
8.0.130.0030.00313.23
8.0.120.0000.00816.68
8.0.110.0030.00516.82
8.0.100.0000.00716.64
8.0.90.0030.00316.84
8.0.80.0100.00916.75
8.0.70.0030.00616.74
8.0.60.0000.00816.71
8.0.50.0040.00416.88
8.0.30.0120.00816.98
8.0.20.0050.01717.40
8.0.10.0040.00416.71
8.0.00.0090.00816.67
7.4.330.0000.00515.55
7.4.320.0030.00316.50
7.4.300.0000.00616.46
7.4.290.0030.00316.52
7.4.280.0030.00616.50
7.4.270.0000.00916.43
7.4.260.0040.00416.50
7.4.250.0020.00516.40
7.4.240.0080.00016.55
7.4.230.0040.00416.50
7.4.220.0040.00416.33
7.4.210.0060.00816.52
7.4.200.0040.00416.24
7.4.160.0110.00816.47
7.4.140.0110.00617.86
7.4.130.0030.01416.25
7.4.120.0080.01016.41
7.4.110.0030.01516.60
7.4.100.0170.00316.22
7.4.90.0090.00916.47
7.4.80.0060.01319.39
7.4.70.0150.00316.50
7.4.60.0060.01016.44
7.4.50.0060.00916.27
7.4.40.0060.01116.32
7.4.10.0030.01414.61
7.4.00.0030.01214.82
7.3.330.0000.00512.89
7.3.320.0000.00612.94
7.3.310.0000.00616.21
7.3.300.0070.00016.09
7.3.290.0070.00015.96
7.3.280.0110.00416.02
7.3.260.0110.00716.26
7.3.240.0110.00716.36
7.3.230.0030.01316.07
7.3.210.0070.01116.36
7.3.200.0030.01316.05
7.3.190.0070.01016.46
7.3.180.0110.00616.39
7.3.170.0110.01116.45
7.3.160.0090.01216.14
7.3.130.0090.00914.66
7.3.120.0110.00214.78
7.3.110.0000.01914.61
7.3.100.0100.00314.80
7.3.90.0000.01414.38
7.3.80.0060.00314.61
7.3.70.0030.00614.49
7.3.60.0040.00414.85
7.3.50.0080.00814.80
7.3.40.0040.01414.59
7.3.30.0030.00814.81
7.3.20.0080.00816.47
7.3.10.0070.00716.55
7.3.00.0060.00916.34
7.2.330.0030.01516.53
7.2.320.0140.01016.57
7.2.310.0130.00316.42
7.2.300.0150.00416.57
7.2.290.0110.00516.17
7.2.260.0040.01515.11
7.2.250.0100.00914.88
7.2.240.0090.00615.05
7.2.230.0070.00714.71
7.2.220.0030.01014.61
7.2.210.0040.00714.46
7.2.200.0100.00314.88
7.2.190.0060.00914.97
7.2.180.0090.00615.09
7.2.170.0110.00714.86
7.2.160.0000.01414.73
7.2.150.0110.00416.66
7.2.140.0030.01316.76
7.2.130.0000.01316.75
7.2.120.0040.00915.69
7.2.110.0100.00515.61
7.2.100.0090.00515.54
7.2.90.0110.00515.54
7.2.80.0120.00515.54
7.2.70.0090.00915.78
7.2.60.0510.00515.86
7.2.50.0320.00815.91
7.2.40.0120.00515.82
7.2.30.0480.00815.97
7.2.20.0370.01015.95
7.2.10.0740.01115.76
7.2.00.0340.00515.82
7.1.330.0030.01015.73
7.1.320.0030.01315.79
7.1.310.0040.00715.90
7.1.300.0090.00615.38
7.1.290.0030.01015.54
7.1.280.0000.00915.68
7.1.270.0030.01015.77
7.1.260.0030.01015.88
7.1.250.0040.00815.74
7.1.240.0120.00314.68
7.1.230.0640.00814.70
7.1.220.0430.00614.54
7.1.210.0280.00814.62
7.1.200.0370.00214.55
7.1.190.0640.00114.71
7.1.180.0080.00614.67
7.1.170.0070.00814.70
7.1.160.0360.00314.61
7.1.150.0340.00614.65
7.1.140.0320.00814.85
7.1.130.1000.01014.63
7.1.120.0330.00514.61
7.1.110.0770.00814.84
7.1.100.0620.00814.73
7.1.90.0340.00914.84
7.1.80.0710.00814.75
7.1.70.0310.00614.88
7.1.60.0400.00914.61
7.1.50.0280.01114.73
7.1.40.0390.00514.79
7.1.30.0700.00514.69
7.1.20.0310.00714.61
7.1.10.0660.00914.40
7.1.00.0310.00314.74
7.0.330.0000.01015.34
7.0.320.0100.00715.30
7.0.310.0030.00615.43
7.0.300.0090.00315.26
7.0.290.0040.00415.27
7.0.280.0060.00615.22
7.0.270.0100.00315.33
7.0.260.0080.00615.30
7.0.250.0000.01015.20
7.0.240.0070.00715.28
7.0.230.0060.00615.23
7.0.220.0000.01115.51
7.0.210.0000.01315.38
7.0.200.0070.00715.28
7.0.190.0060.00615.56
7.0.180.0000.00915.36
7.0.170.0030.01215.09
7.0.160.0070.00315.14
7.0.150.0070.00715.38
7.0.140.0070.00715.19
7.0.130.0030.01015.27
7.0.120.0090.00315.52
7.0.110.0110.00415.33
7.0.100.0060.01215.39
7.0.90.0100.00315.06
7.0.80.0030.00915.50
7.0.70.0000.01215.45
7.0.60.0030.00615.11
7.0.50.0030.00715.35
7.0.40.0110.00013.54
7.0.30.0000.01413.34
7.0.20.0030.01013.57
7.0.10.0080.00813.34
7.0.00.0050.00313.11
5.6.400.0060.00614.21
5.6.390.0030.01014.03
5.6.380.0030.00814.57
5.6.370.0110.00314.50
5.6.360.0050.00514.51
5.6.350.0030.01114.18
5.6.340.0090.00614.33
5.6.330.0090.00414.49
5.6.320.0060.00914.31
5.6.310.0080.00314.29
5.6.300.0100.00314.07
5.6.290.0030.01014.20
5.6.280.0040.01114.35
5.6.270.0040.01114.34
5.6.260.0060.00914.42
5.6.250.0080.00314.36
5.6.240.0030.01214.23
5.6.230.0000.01214.61
5.6.220.0030.00814.19
5.6.210.0080.00414.05
5.6.200.0070.00314.05
5.6.190.0000.01214.57
5.6.180.0030.01014.24
5.6.170.0000.00914.36
5.6.160.0030.00914.19
5.6.150.0030.01014.45
5.6.140.0070.01014.16
5.6.130.0040.00814.27
5.6.120.0000.00814.47
5.6.110.0030.01314.17
5.6.100.0100.00314.50
5.6.90.0090.00314.46
5.6.80.0000.00814.17
5.6.70.0090.00314.14
5.6.60.0040.00814.28
5.6.50.0090.00614.21
5.6.40.0000.01714.16
5.6.30.0000.00813.92
5.6.20.0100.00014.41
5.6.10.0030.00914.27
5.6.00.0030.01114.05

preferences:
75.68 ms | 403 KiB | 5 Q