3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [1, 2, 3]; var_dump(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.3.70.0130.00718.30
8.3.60.0090.00916.62
8.3.50.0130.01022.82
8.3.40.0040.01118.59
8.3.30.0080.00818.59
8.3.20.0060.00318.85
8.3.10.0070.00021.77
8.3.00.0050.00319.72
8.2.190.0040.01816.75
8.2.180.0070.01418.16
8.2.170.0120.00922.96
8.2.160.0110.00419.07
8.2.150.0070.00024.18
8.2.140.0040.00424.66
8.2.130.0070.00022.26
8.2.120.0040.00426.35
8.2.110.0090.00022.00
8.2.100.0120.00017.78
8.2.90.0000.00919.27
8.2.80.0080.00017.97
8.2.70.0100.00317.50
8.2.60.0080.00017.80
8.2.50.0060.00318.10
8.2.40.0000.00922.15
8.2.30.0040.00419.18
8.2.20.0000.00717.61
8.2.10.0000.00717.92
8.2.00.0000.00819.72
8.1.280.0040.01125.92
8.1.270.0030.00523.96
8.1.260.0070.00028.09
8.1.250.0070.00028.09
8.1.240.0040.00723.81
8.1.230.0080.00420.77
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0100.00017.10
8.1.190.0000.00817.10
8.1.180.0030.00618.10
8.1.170.0040.00418.50
8.1.160.0040.00422.17
8.1.150.0050.00218.73
8.1.140.0040.00419.51
8.1.130.0030.00317.63
8.1.120.0030.00317.35
8.1.110.0080.00017.40
8.1.100.0030.00417.39
8.1.90.0070.00017.40
8.1.80.0030.00317.29
8.1.70.0040.00417.25
8.1.60.0000.00817.47
8.1.50.0030.00917.44
8.1.40.0030.00617.41
8.1.30.0000.00817.61
8.1.20.0040.00417.45
8.1.10.0000.00817.41
8.1.00.0050.00317.32
8.0.300.0000.00718.77
8.0.290.0060.00316.63
8.0.280.0070.00018.34
8.0.270.0000.00717.18
8.0.260.0040.00417.10
8.0.250.0040.00416.79
8.0.240.0000.00716.79
8.0.230.0040.00416.89
8.0.220.0030.00316.72
8.0.210.0000.00716.82
8.0.200.0040.00416.93
8.0.190.0050.00316.80
8.0.180.0000.00816.82
8.0.170.0040.00416.86
8.0.160.0000.00816.94
8.0.150.0000.00716.76
8.0.140.0060.00316.77
8.0.130.0000.00713.23
8.0.120.0000.00816.75
8.0.110.0000.00716.77
8.0.100.0040.00416.74
8.0.90.0070.00016.69
8.0.80.0120.00316.79
8.0.70.0040.00416.89
8.0.60.0080.00016.87
8.0.50.0070.00016.78
8.0.30.0120.01016.87
8.0.20.0160.00517.40
8.0.10.0050.00316.80
8.0.00.0130.01116.62
7.4.330.0000.00515.08
7.4.320.0030.00316.54
7.4.300.0030.00616.43
7.4.290.0000.00716.42
7.4.280.0050.00316.51
7.4.270.0070.00016.56
7.4.260.0040.00416.43
7.4.250.0050.00216.38
7.4.240.0070.00016.44
7.4.230.0030.00316.51
7.4.220.0070.01416.37
7.4.210.0080.00716.53
7.4.200.0000.00816.57
7.4.160.0070.00716.37
7.4.150.0140.00317.40
7.4.140.0120.00517.86
7.4.130.0100.00816.45
7.4.120.0080.00816.44
7.4.110.0110.01016.29
7.4.100.0090.00916.52
7.4.90.0120.00816.30
7.4.80.0110.00619.39
7.4.70.0060.01216.30
7.4.60.0120.01216.27
7.4.50.0030.00916.05
7.4.40.0090.00916.25
7.4.30.0030.01416.36
7.4.00.0070.00915.07
7.3.330.0060.00012.92
7.3.320.0030.00312.98
7.3.310.0000.00716.21
7.3.300.0000.00716.19
7.3.290.0090.00616.13
7.3.280.0060.01116.11
7.3.270.0130.01217.40
7.3.260.0130.00516.46
7.3.250.0120.00716.26
7.3.240.0160.00316.43
7.3.230.0060.01016.39
7.3.210.0150.00616.20
7.3.200.0100.01016.28
7.3.190.0060.00916.36
7.3.180.0070.01016.53
7.3.170.0080.00716.08
7.3.160.0090.01216.17
7.3.120.0090.00914.73
7.3.110.0040.01614.46
7.3.100.0030.01614.93
7.3.90.0100.00314.60
7.3.80.0030.01015.06
7.3.70.0080.00814.71
7.3.60.0070.01114.67
7.3.50.0060.00814.73
7.3.40.0070.00714.67
7.3.30.0070.00314.84
7.3.20.0040.00716.62
7.3.10.0100.00516.44
7.3.00.0060.00916.58
7.2.330.0100.00716.25
7.2.320.0100.00616.30
7.2.310.0070.01016.43
7.2.300.0070.01516.15
7.2.290.0220.00016.46
7.2.250.0120.00314.91
7.2.240.0090.00914.70
7.2.230.0140.00314.77
7.2.220.0100.00314.99
7.2.210.0090.00614.81
7.2.200.0040.01114.68
7.2.190.0060.00314.76
7.2.180.0070.00714.97
7.2.170.0060.00614.86
7.2.160.0090.00615.02
7.2.150.0040.00816.77
7.2.140.0000.01316.52
7.2.130.0080.00816.75
7.2.120.0070.00816.62
7.2.110.0080.00316.55
7.2.100.0100.00316.76
7.2.90.0030.01116.67
7.2.80.0060.00616.78
7.2.70.0040.01016.80
7.2.60.0050.00816.87
7.2.50.0030.01116.85
7.2.40.0080.00816.85
7.2.30.0040.01116.61
7.2.20.0040.01116.80
7.2.10.0050.00816.79
7.2.00.0080.00416.65
7.1.330.0100.00715.80
7.1.320.0090.00315.66
7.1.310.0030.01015.61
7.1.300.0090.00615.70
7.1.290.0030.00515.43
7.1.280.0080.00415.52
7.1.270.0030.01015.39
7.1.260.0040.00815.56
7.1.250.0050.00815.69
7.1.240.0060.00615.73
7.1.230.0000.01315.69
7.1.220.0070.00715.80
7.1.210.0040.00415.57
7.1.200.0040.00915.74
7.1.190.0070.00715.88
7.1.180.0000.01215.89
7.1.170.0070.00715.55
7.1.160.0080.00015.54
7.1.150.0090.00615.76
7.1.140.0070.00715.42
7.1.130.0060.00915.89
7.1.120.0030.01015.76
7.1.110.0110.00415.73
7.1.100.0040.01115.87
7.1.90.0060.00915.78
7.1.80.0100.00715.68
7.1.70.0050.00516.40
7.1.60.0070.00917.69
7.1.50.0070.00916.29
7.1.40.0030.01315.53
7.1.30.0100.00715.78
7.1.20.0030.01215.67
7.1.10.0050.00515.79
7.1.00.0030.04218.97
7.0.330.0080.00015.58
7.0.320.0080.00415.39
7.0.310.0040.00715.07
7.0.300.0060.00915.41
7.0.290.0100.00315.38
7.0.280.0000.01515.44
7.0.270.0040.00815.30
7.0.260.0040.00815.39
7.0.250.0090.00315.61
7.0.240.0070.00715.04
7.0.230.0100.00715.51
7.0.220.0000.01115.24
7.0.210.0000.01215.09
7.0.200.0080.00815.00
7.0.190.0080.00315.59
7.0.180.0030.01015.58
7.0.170.0040.01115.36
7.0.160.0070.00715.56
7.0.150.0070.01015.33
7.0.140.0070.00715.40
7.0.130.0000.00815.30
7.0.120.0000.01515.25
7.0.110.0030.00915.52
7.0.100.0080.00015.32
7.0.90.0100.04917.46
7.0.80.0120.03117.69
7.0.70.0120.02917.85
7.0.60.0070.03717.60
7.0.50.0150.03518.00
7.0.40.0100.04416.75
7.0.30.0200.03716.83
7.0.20.0130.04916.81
7.0.10.0080.04916.86
7.0.00.0180.03516.92
5.6.400.0070.00414.17
5.6.390.0060.00614.16
5.6.380.0090.00313.97
5.6.370.0100.00313.83
5.6.360.0040.01113.85
5.6.350.0090.00914.48
5.6.340.0000.00914.53
5.6.330.0090.00614.12
5.6.320.0070.00714.21
5.6.310.0110.00013.87
5.6.300.0000.01414.01
5.6.290.0120.00314.31
5.6.280.0000.00914.40
5.6.270.0100.00314.02
5.6.260.0110.00314.44
5.6.250.0000.01214.45
5.6.240.0080.03717.54
5.6.230.0090.03117.35
5.6.220.0090.03017.53
5.6.210.0110.03717.58
5.6.200.0050.03217.51
5.6.190.0150.03017.60
5.6.180.0100.03917.54
5.6.170.0170.03817.46
5.6.160.0100.04417.65
5.6.150.0100.04517.70
5.6.140.0090.04217.61
5.6.130.0050.04017.51
5.6.120.0030.03817.64
5.6.110.0090.03517.55
5.6.100.0100.03717.58
5.6.90.0030.04017.70
5.6.80.0140.02717.36
5.6.70.0060.03517.28
5.6.60.0080.03717.32
5.6.50.0100.04117.24
5.6.40.0090.04517.15
5.6.30.0100.03317.37
5.6.20.0080.03817.42
5.6.10.0080.03117.29
5.6.00.0030.04017.23

preferences:
18.9 ms | 401 KiB | 5 Q