3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types=1); function concat(string $separator = ' ', string ...$strings): string { return implode($separator, $strings); }

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.0070.00716.50
8.3.50.0090.00921.85
8.3.40.0090.00618.47
8.3.30.0110.00318.66
8.3.20.0000.00820.29
8.3.10.0000.00821.73
8.3.00.0030.00519.25
8.2.180.0110.00716.32
8.2.170.0100.00722.96
8.2.160.0060.01320.51
8.2.150.0110.00724.18
8.2.140.0070.00024.66
8.2.130.0060.00317.34
8.2.120.0070.00426.35
8.2.110.0050.00320.45
8.2.100.0040.01117.80
8.2.90.0000.00719.09
8.2.80.0000.00817.97
8.2.70.0000.00917.50
8.2.60.0000.00717.80
8.2.50.0040.00418.07
8.2.40.0090.00019.19
8.2.30.0000.00720.69
8.2.20.0080.00017.62
8.2.10.0050.00317.92
8.2.00.0050.00217.95
8.1.280.0140.00725.92
8.1.270.0060.00323.67
8.1.260.0040.00428.09
8.1.250.0040.00428.09
8.1.240.0060.00324.00
8.1.230.0030.00917.68
8.1.220.0040.00717.74
8.1.210.0090.00018.77
8.1.200.0000.00917.10
8.1.190.0040.00417.00
8.1.180.0030.00518.10
8.1.170.0040.00418.84
8.1.160.0000.00721.91
8.1.150.0050.00318.80
8.1.140.0000.00819.50
8.1.130.0030.00317.47
8.1.120.0000.00717.34
8.1.110.0030.00517.30
8.1.100.0040.00417.30
8.1.90.0040.00417.24
8.1.80.0040.00417.29
8.1.70.0000.00717.20
8.1.60.0090.00017.48
8.1.50.0080.00017.39
8.1.40.0040.00417.39
8.1.30.0060.00317.55
8.1.20.0050.00217.48
8.1.10.0040.00417.45
8.1.00.0040.00417.18
8.0.300.0080.00018.77
8.0.290.0040.00416.63
8.0.280.0000.00818.21
8.0.270.0000.00717.15
8.0.260.0060.00016.99
8.0.250.0000.00616.86
8.0.240.0070.00016.71
8.0.230.0040.00416.72
8.0.220.0030.00316.66
8.0.210.0070.00016.84
8.0.200.0090.00016.80
8.0.190.0040.00416.80
8.0.180.0030.00516.80
8.0.170.0040.00416.83
8.0.160.0000.00716.73
8.0.150.0030.00316.72
8.0.140.0050.00216.73
8.0.130.0030.00313.18
8.0.120.0080.00016.77
8.0.110.0000.00716.66
8.0.100.0050.00216.83
8.0.90.0000.00716.62
8.0.80.0110.00416.79
8.0.70.0040.00416.67
8.0.60.0000.00716.75
8.0.50.0050.00316.73
8.0.30.0110.00816.89
8.0.20.0110.00817.40
8.0.10.0040.00416.94
8.0.00.0060.01216.58
7.4.330.0050.00016.71
7.4.320.0000.00716.37
7.4.300.0030.00316.35
7.4.290.0070.00016.47
7.4.280.0050.00416.52
7.4.270.0070.00016.49
7.4.260.0040.00416.43
7.4.250.0040.00416.32
7.4.240.0050.00216.39
7.4.230.0000.00716.47
7.4.220.0090.01216.51
7.4.210.0100.00516.37
7.4.200.0070.00016.55
7.4.160.0090.01516.31
7.4.150.0130.00417.40
7.4.140.0090.00917.86
7.4.130.0120.00516.39
7.4.120.0080.00916.47
7.4.110.0060.00916.17
7.4.100.0070.01016.52
7.4.90.0070.01016.53
7.4.80.0120.00819.39
7.4.70.0180.00016.29
7.4.60.0090.00916.43
7.4.50.0090.00916.17
7.4.40.0140.00516.38
7.4.30.0070.01016.45
7.4.10.0090.00914.76
7.4.00.0070.01014.93
7.3.330.0060.00013.14
7.3.320.0030.00313.18
7.3.310.0030.00316.21
7.3.300.0000.00616.13
7.3.290.0000.00716.18
7.3.280.0100.00816.16
7.3.270.0130.00417.40
7.3.260.0130.00716.50
7.3.250.0140.00716.31
7.3.240.0060.01116.31
7.3.230.0060.01216.39
7.3.210.0100.00716.12
7.3.200.0150.00016.00
7.3.190.0090.00916.46
7.3.180.0070.01116.19
7.3.170.0040.01116.43
7.3.160.0070.01416.46
7.3.130.0090.00914.85
7.3.120.0050.01014.65
7.3.110.0100.00714.75
7.3.100.0060.01014.58
7.3.90.0020.01414.63
7.3.80.0080.00614.59
7.3.70.0060.00814.77
7.3.60.0110.00514.80
7.3.50.0050.01014.69
7.3.40.0090.00614.50
7.3.30.0090.00514.63
7.3.20.0090.00516.57
7.3.10.0090.00516.22
7.3.00.0070.00716.43
7.2.330.0090.00916.32
7.2.320.0150.00916.32
7.2.310.0140.00716.61
7.2.300.0120.00616.34
7.2.290.0180.00316.53
7.2.260.0080.00414.78
7.2.250.0070.01114.68
7.2.240.0050.01314.78
7.2.230.0040.00914.71
7.2.220.0080.00514.66
7.2.210.0080.00514.93
7.2.200.0080.00314.75
7.2.190.0090.00514.94
7.2.180.0060.00914.89
7.2.170.0070.00714.71
7.2.160.0020.01414.55
7.2.150.0020.01216.67
7.2.140.0090.00916.74
7.2.130.0020.01316.56
7.2.120.0060.00816.75
7.2.110.0030.01116.60
7.2.100.0090.00616.74
7.2.90.0070.00616.55
7.2.80.0080.00616.62
7.2.70.0030.00916.71
7.2.60.0040.00916.75
7.2.50.0060.00816.69
7.2.40.0070.01016.66
7.2.30.0090.00416.72
7.2.20.0060.00916.66
7.2.10.0050.00916.71
7.2.00.0020.01117.57
7.1.330.0070.00915.70
7.1.320.0060.01115.65
7.1.310.0100.00415.52
7.1.300.0080.00915.67
7.1.290.0050.00815.55
7.1.280.0070.00715.58
7.1.270.0020.01015.51
7.1.260.0080.00515.70
7.1.250.0060.00615.41
7.1.240.0030.01015.36
7.1.230.0030.01015.63
7.1.220.0130.00015.70
7.1.210.0070.01015.33
7.1.200.0060.00815.54
7.1.190.0100.00615.71
7.1.180.0060.00615.37
7.1.170.0070.00715.47
7.1.160.0060.00915.53
7.1.150.0060.00915.34
7.1.140.0040.01115.69
7.1.130.0040.00815.46
7.1.120.0050.00515.41
7.1.110.0040.00815.37
7.1.100.0040.01216.61
7.1.90.0040.01515.77
7.1.80.0040.01415.40
7.1.70.0050.00516.31
7.1.60.0100.00817.41
7.1.50.0090.00616.05
7.1.40.0060.00615.79
7.1.30.0000.01315.41
7.1.20.0030.01015.70
7.1.10.0080.00615.59
7.1.00.0050.04018.80
7.0.330.0110.00015.21
7.0.320.0040.01115.27
7.0.310.0030.01015.40
7.0.300.0060.01015.42
7.0.290.0000.01115.18
7.0.280.0030.01015.25
7.0.270.0070.00415.25
7.0.260.0040.01115.37
7.0.250.0000.01315.27
7.0.240.0100.00715.20
7.0.230.0100.00615.40
7.0.220.0100.00315.47
7.0.210.0030.00615.43
7.0.200.0020.01015.93
7.0.190.0040.00815.26
7.0.180.0090.00315.45
7.0.170.0030.01015.13
7.0.160.0060.00915.21
7.0.150.0040.01115.45
7.0.140.0070.01015.28
7.0.130.0060.00615.39
7.0.120.0060.00315.23
7.0.110.0000.00915.16
7.0.100.0030.00915.34
7.0.90.0030.00615.34
7.0.80.0040.00815.37
7.0.70.0030.01015.05
7.0.60.0020.03017.66
7.0.50.0070.04016.58
7.0.40.0080.02516.69
7.0.30.0180.03316.70
7.0.20.0120.04316.70
7.0.10.0070.04716.61
7.0.00.0050.03516.65
5.6.400.0000.01414.50
5.6.390.0100.00314.11
5.6.380.0000.01413.94
5.6.370.0040.01214.43
5.6.360.0030.01413.91
5.6.350.0030.01014.41
5.6.340.0040.00814.06
5.6.330.0030.01013.89
5.6.320.0060.00314.26
5.6.310.0040.01114.02
5.6.300.0080.00414.19
5.6.290.0030.00614.40
5.6.280.0060.02817.52
5.6.270.0040.01114.07
5.6.260.0100.00714.14
5.6.250.0030.01014.06
5.6.240.0110.00414.21
5.6.230.0000.01314.29
5.6.220.0060.00613.89
5.6.210.0020.03917.29
5.6.200.0080.04816.23
5.6.190.0070.04717.22
5.6.180.0240.02917.16
5.6.170.0120.02717.18
5.6.160.0050.02817.43
5.6.150.0070.04115.97
5.6.140.0030.03016.10
5.6.130.0020.04116.11
5.6.120.0020.02817.61
5.6.110.0070.04217.62
5.6.100.0050.03817.60
5.6.90.0140.03517.48
5.6.80.0070.03317.23
5.6.70.0080.00414.11
5.6.60.0100.00013.90
5.6.50.0040.00714.22
5.6.40.0050.00813.76
5.6.30.0030.00713.84
5.6.20.0000.01414.23
5.6.10.0060.00714.19
5.6.00.0060.00613.91
5.5.380.0040.00414.20
5.5.370.0100.00714.00
5.5.360.0040.00714.11
5.5.350.0100.02717.05
5.5.340.0070.02815.90
5.5.330.0050.04017.30
5.5.320.0050.02517.15
5.5.310.0150.02317.33
5.5.300.0070.03715.91
5.5.290.0070.02616.00
5.5.280.0090.04517.30
5.5.270.0050.04617.40
5.5.260.0080.04017.42
5.5.250.0050.04517.30
5.5.240.2070.02217.12
5.5.230.0030.01013.89
5.5.220.0000.01113.77
5.5.210.0000.00813.93
5.5.200.0090.00613.99
5.5.190.0090.00613.96
5.5.180.0080.00613.88
5.5.170.0030.00913.78
5.5.160.0030.01013.95
5.5.150.0030.00513.94
5.5.140.0030.00713.76
5.5.130.0070.00713.86
5.5.120.0030.01014.04
5.5.110.0110.00313.87
5.5.100.0040.00413.96
5.5.90.0030.00613.82
5.5.80.0060.00614.08
5.5.70.0000.00914.08
5.5.60.0080.00413.80
5.5.50.0030.00614.01
5.5.40.0030.00714.11
5.5.30.0100.00313.80
5.5.20.0100.00314.00
5.5.10.0080.00313.70
5.5.00.0070.00314.04

preferences:
58.56 ms | 401 KiB | 5 Q