3v4l.org

run code in 300+ PHP versions simultaneously
<?php sprintf("CONCAT(product.%1s, (case when product.%2s != '' then CONCAT(' - ',product.%2s) else '' end), (case when product.%3s != '' then CONCAT(' - ',product.%3s) else '' end))", "name", "color", "size");

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.0140.00016.88
8.3.50.0080.01021.92
8.3.40.0070.01418.75
8.3.30.0140.00019.10
8.3.20.0070.00020.16
8.3.10.0040.00423.70
8.3.00.0000.00819.26
8.2.180.0150.00618.41
8.2.170.0040.01122.96
8.2.160.0070.00720.39
8.2.150.0050.00224.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00422.04
8.2.110.0100.00022.22
8.2.100.0130.00017.84
8.2.90.0030.00619.20
8.2.80.0000.00817.97
8.2.70.0030.00617.63
8.2.60.0030.00617.80
8.2.50.0000.00818.07
8.2.40.0000.00718.22
8.2.30.0080.00017.87
8.2.20.0040.00417.67
8.2.10.0040.00417.92
8.2.00.0100.00017.64
8.1.280.0070.00725.92
8.1.270.0040.00423.84
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0050.00523.92
8.1.230.0040.00719.14
8.1.220.0000.00917.74
8.1.210.0040.00418.77
8.1.200.0000.00817.22
8.1.190.0090.00317.41
8.1.180.0080.00018.10
8.1.170.0090.00318.53
8.1.160.0000.00721.94
8.1.150.0030.00518.52
8.1.140.0030.00517.32
8.1.130.0060.00017.66
8.1.120.0040.00417.36
8.1.110.0050.00217.36
8.1.100.0000.00717.30
8.1.90.0030.00617.16
8.1.80.0030.00317.33
8.1.70.0070.00017.20
8.1.60.0050.00317.40
8.1.50.0050.00317.39
8.1.40.0000.00717.43
8.1.30.0080.00017.47
8.1.20.0080.00017.56
8.1.10.0040.00417.50
8.1.00.0050.00317.41
8.0.300.0070.00018.77
8.0.290.0080.00017.05
8.0.280.0080.00018.36
8.0.270.0000.00717.09
8.0.260.0000.00717.09
8.0.250.0050.00216.93
8.0.240.0080.00016.93
8.0.230.0000.00716.82
8.0.220.0040.00416.93
8.0.210.0000.00716.84
8.0.200.0030.00316.82
8.0.190.0030.00316.96
8.0.180.0020.00516.80
8.0.170.0000.00816.90
8.0.160.0030.00416.77
8.0.150.0030.00516.78
8.0.140.0060.00316.84
8.0.130.0000.00513.30
8.0.120.0070.00016.84
8.0.110.0000.00716.90
8.0.100.0000.00816.89
8.0.90.0000.00816.92
8.0.80.0030.01116.91
8.0.70.0000.00816.84
8.0.60.0040.00416.91
8.0.50.0000.00816.86
8.0.30.0120.00617.14
8.0.20.0100.00817.40
8.0.10.0040.00416.80
8.0.00.0100.01116.67
7.4.330.0050.00015.00
7.4.320.0000.00616.21
7.4.300.0050.00216.46
7.4.290.0030.00316.45
7.4.280.0000.00716.44
7.4.270.0000.00716.35
7.4.260.0030.00316.35
7.4.250.0030.00516.24
7.4.240.0030.00316.39
7.4.230.0060.00016.29
7.4.220.0140.00416.38
7.4.210.0090.00716.32
7.4.200.0000.00716.30
7.4.190.0030.00316.55
7.4.160.0120.00316.27
7.4.150.0060.01417.40
7.4.140.0080.01017.86
7.4.130.0070.01016.40
7.4.120.0090.00816.52
7.4.110.0030.01416.29
7.4.100.0000.01716.18
7.4.90.0130.00316.37
7.4.80.0070.01119.39
7.4.70.0100.00616.30
7.4.60.0000.01516.20
7.4.50.0040.00416.09
7.4.40.0030.01222.77
7.4.30.0110.00616.39
7.4.00.0000.01214.76
7.3.330.0060.00013.02
7.3.320.0000.00612.91
7.3.310.0030.00316.02
7.3.300.0000.00716.17
7.3.290.0030.01016.20
7.3.280.0090.00816.19
7.3.270.0060.01217.40
7.3.260.0080.00816.19
7.3.250.0100.01016.18
7.3.240.0140.00416.24
7.3.230.0130.00616.39
7.3.210.0140.00716.08
7.3.200.0120.00619.39
7.3.190.0120.01216.46
7.3.180.0070.00816.21
7.3.170.0110.00416.27
7.3.160.0090.00616.23
7.3.120.0080.00814.39
7.2.330.0110.00716.48
7.2.320.0070.01016.15
7.2.310.0130.00316.14
7.2.300.0110.00816.13
7.2.290.0080.00816.09
7.2.00.0040.00718.70
7.1.100.0030.00817.61
7.1.70.0050.00217.04
7.1.60.0070.01719.33
7.1.50.0270.01034.70
7.1.00.0070.06722.32
7.0.200.0190.00414.48
7.0.140.0030.07322.07
7.0.60.0030.04019.91
7.0.50.0100.07717.80
7.0.40.0030.09020.25
7.0.30.0200.04320.13
7.0.20.0230.07019.99
7.0.10.0000.08320.04
7.0.00.0100.05320.16
5.6.280.0100.06720.98
5.6.210.0100.08020.76
5.6.200.0030.04018.15
5.6.190.0100.08320.39
5.6.180.0300.07320.56
5.6.170.0230.05720.48
5.6.160.0070.08020.49
5.6.150.0030.09018.12
5.6.140.0030.04018.18
5.6.130.0100.06718.15
5.6.120.0030.07321.01
5.6.110.0130.05321.11
5.6.100.0130.07321.02
5.6.90.0070.08721.10
5.6.80.0100.05320.52
5.6.70.1400.04020.35
5.5.350.0170.04020.38
5.5.340.0070.07718.00
5.5.330.0070.04320.21
5.5.320.0470.06320.32
5.5.310.0230.08320.20
5.5.300.0000.07017.87
5.5.290.0070.08317.98
5.5.280.0070.05320.76
5.5.270.0070.08320.79
5.5.260.0100.06320.87
5.5.250.0030.08020.53
5.5.240.0130.07020.23
5.4.450.0770.06319.55
5.4.440.1170.04319.32
5.4.430.0830.06719.60
5.4.420.0930.06019.47
5.4.410.0230.06019.14
5.4.400.0530.07319.13
5.4.390.0200.05719.23
5.4.380.0330.06318.53
5.4.370.0400.06018.68
5.4.360.0300.07318.49
5.4.350.0400.05318.70
5.4.340.0370.05018.61
5.4.320.0060.04212.45
5.4.310.0050.04112.45
5.4.300.0090.03512.45
5.4.290.0030.04112.45
5.4.280.0080.03912.32
5.4.270.0100.03912.32
5.4.260.0070.04212.32
5.4.250.0070.04712.32
5.4.240.0080.03612.32
5.4.230.0080.04012.31
5.4.220.0080.04012.31
5.4.210.0130.06812.31
5.4.200.0110.06912.31
5.4.190.0140.07012.30
5.4.180.0090.05912.30
5.4.170.0100.07312.32
5.4.160.0110.05612.31
5.4.150.0090.04412.31
5.4.140.0090.04311.99
5.4.130.0100.03911.98
5.4.120.0190.07511.94
5.4.110.0080.05111.94
5.4.100.0090.05511.94
5.4.90.0110.05511.93
5.4.80.0120.06911.94
5.4.70.0150.06611.93
5.4.60.0110.03411.93
5.4.50.0090.03911.93
5.4.40.0080.03811.92
5.4.30.0110.05611.92
5.4.20.0070.05011.92
5.4.10.0170.04111.92
5.4.00.0040.04611.40
5.3.290.0080.04012.80
5.3.280.0090.04712.70
5.3.270.0060.04512.72
5.3.260.0060.04912.72
5.3.250.0240.06812.72
5.3.240.0180.05812.72
5.3.230.0090.06512.71
5.3.220.0130.05112.68
5.3.210.0080.05312.68
5.3.200.0090.08012.68
5.3.190.0100.05412.68
5.3.180.0090.06512.67
5.3.170.0140.06012.66
5.3.160.0090.05712.67
5.3.150.0120.04912.68
5.3.140.0120.07712.66
5.3.130.0200.08812.65
5.3.120.0130.07212.66
5.3.110.0110.05312.66
5.3.100.0090.05312.12
5.3.90.0120.05112.09
5.3.80.0120.05012.07
5.3.70.0110.03912.07
5.3.60.0080.05212.06
5.3.50.0110.04912.00
5.3.40.0130.06612.00
5.3.30.0090.03811.93
5.3.20.0060.04211.70
5.3.10.0100.05211.67
5.3.00.0070.05411.65
5.2.170.0080.0509.15
5.2.160.0050.0329.15
5.2.150.0080.0319.15
5.2.140.0070.0339.14
5.2.130.0080.0299.11
5.2.120.0050.0319.11
5.2.110.0050.0349.12
5.2.100.0070.0329.11
5.2.90.0080.0469.11
5.2.80.0090.0409.11
5.2.70.0090.0529.10
5.2.60.0100.0699.06
5.2.50.0110.0449.03
5.2.40.0080.0489.00
5.2.30.0070.0338.98
5.2.20.0100.0348.97
5.2.10.0090.0408.89
5.2.00.0130.0458.75
5.1.60.0100.0328.04
5.1.50.0060.0378.04
5.1.40.0100.0408.02
5.1.30.0080.0378.37
5.1.20.0120.0348.39
5.1.10.0070.0408.12
5.1.00.0100.0348.12
5.0.50.0050.0306.59
5.0.40.0090.0246.45
5.0.30.0070.0406.26
5.0.20.0090.0246.24
5.0.10.0050.0296.21
5.0.00.0070.0396.20
4.4.90.0110.0174.78
4.4.80.0060.0264.75
4.4.70.0020.0224.76
4.4.60.0080.0404.76
4.4.50.0070.0214.77
4.4.40.0030.0364.71
4.4.30.0030.0234.76
4.4.20.0030.0244.84
4.4.10.0030.0254.85
4.4.00.0030.0324.76
4.3.110.0030.0204.67
4.3.100.0010.0204.67
4.3.90.0060.0214.63
4.3.80.0090.0284.58
4.3.70.0040.0194.63
4.3.60.0030.0224.63
4.3.50.0040.0224.63
4.3.40.0030.0344.54
4.3.30.0030.0223.27
4.3.20.0040.0213.25
4.3.10.0020.0233.21
4.3.00.0300.01710.37

preferences:
44.47 ms | 401 KiB | 5 Q