3v4l.org

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

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.0030.01016.50
8.3.50.0080.00721.87
8.3.40.0040.01118.84
8.3.30.0070.00719.09
8.3.20.0040.00420.04
8.3.10.0050.00323.71
8.3.00.0050.00319.38
8.2.180.0110.00716.63
8.2.170.0140.00422.96
8.2.160.0070.00720.39
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0040.00422.20
8.2.110.0090.00022.23
8.2.100.0080.00317.78
8.2.90.0040.00419.27
8.2.80.0030.00617.97
8.2.70.0050.00317.63
8.2.60.0000.00817.80
8.2.50.0030.00518.07
8.2.40.0040.00418.09
8.2.30.0000.00717.86
8.2.20.0020.00517.73
8.2.10.0040.00417.98
8.2.00.0040.00717.72
8.1.280.0110.00425.92
8.1.270.0080.00024.01
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0100.00023.91
8.1.230.0040.00719.16
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0000.00917.10
8.1.190.0080.00017.40
8.1.180.0000.00818.10
8.1.170.0030.00618.46
8.1.160.0030.00321.94
8.1.150.0000.00718.41
8.1.140.0000.00717.30
8.1.130.0000.00717.78
8.1.120.0030.00317.30
8.1.110.0050.00317.34
8.1.100.0000.00717.22
8.1.90.0000.00717.26
8.1.80.0000.00717.15
8.1.70.0030.00317.30
8.1.60.0030.00517.50
8.1.50.0000.00817.32
8.1.40.0040.00417.34
8.1.30.0040.00417.51
8.1.20.0040.00417.57
8.1.10.0050.00217.53
8.1.00.0040.00417.46
8.0.300.0070.00018.77
8.0.290.0040.00417.04
8.0.280.0030.00318.30
8.0.270.0000.00717.19
8.0.260.0060.00017.12
8.0.250.0030.00316.84
8.0.240.0000.00616.81
8.0.230.0070.00016.90
8.0.220.0030.00316.90
8.0.210.0030.00316.90
8.0.200.0030.00316.87
8.0.190.0070.00016.96
8.0.180.0000.00716.91
8.0.170.0050.00216.87
8.0.160.0030.00516.84
8.0.150.0040.00416.86
8.0.140.0040.00416.81
8.0.130.0000.00613.29
8.0.120.0070.00016.82
8.0.110.0040.00416.80
8.0.100.0040.00416.83
8.0.90.0070.00016.91
8.0.80.0080.00816.92
8.0.70.0050.00216.84
8.0.60.0000.00816.84
8.0.50.0080.00016.71
8.0.30.0050.01316.95
8.0.20.0050.01417.40
8.0.10.0000.00816.91
8.0.00.0100.01016.73
7.4.330.0000.00515.00
7.4.320.0030.00316.44
7.4.300.0000.00616.54
7.4.290.0000.00716.36
7.4.280.0080.00016.32
7.4.270.0040.00416.37
7.4.260.0000.00716.37
7.4.250.0000.00716.32
7.4.240.0040.00316.41
7.4.230.0000.00616.48
7.4.220.0030.01516.56
7.4.210.0070.00716.34
7.4.200.0030.00316.34
7.4.190.0070.00016.23
7.4.160.0090.00616.44
7.4.150.0150.00917.40
7.4.140.0070.01017.86
7.4.130.0100.00616.36
7.4.120.0050.01216.46
7.4.110.0140.00316.63
7.4.100.0070.01016.25
7.4.90.0050.01416.62
7.4.80.0040.01519.39
7.4.70.0030.01316.59
7.4.60.0100.00716.45
7.4.50.0000.00816.53
7.4.40.0040.01222.77
7.4.30.0080.00916.27
7.4.00.0030.01215.03
7.3.330.0030.00313.12
7.3.320.0060.00013.07
7.3.310.0040.00416.02
7.3.300.0040.00416.06
7.3.290.0090.00616.24
7.3.280.0100.00716.16
7.3.270.0140.00717.40
7.3.260.0060.01216.43
7.3.250.0070.01616.35
7.3.240.0030.01916.32
7.3.230.0060.00916.39
7.3.210.0140.00616.23
7.3.200.0120.00919.39
7.3.190.0150.00616.21
7.3.180.0060.01016.23
7.3.170.0120.00316.27
7.3.160.0100.00616.30
7.3.120.0090.00614.65
7.2.330.0060.01316.50
7.2.320.0080.00816.52
7.2.310.0110.00516.28
7.2.300.0070.01116.41
7.2.290.0130.00316.44
7.2.80.0000.00716.55
7.2.60.0040.00816.80
7.2.50.0160.00716.77
7.2.00.0000.00818.77
7.1.200.0040.00415.67
7.1.100.0000.01517.65
7.1.70.0000.00717.05
7.1.60.0110.01419.33
7.1.50.0210.01434.72
7.1.00.0000.08022.36
7.0.200.0070.00714.80
7.0.140.0000.06722.08
7.0.60.0030.05319.77
7.0.50.0000.07017.79
7.0.40.0100.08320.23
7.0.30.0200.03720.02
7.0.20.0200.04720.16
7.0.10.0100.08320.13
7.0.00.0070.04720.30
5.6.280.0070.06721.13
5.6.210.0070.07320.74
5.6.200.0130.07018.21
5.6.190.0070.08320.55
5.6.180.0230.07320.77
5.6.170.0430.03320.48
5.6.160.0100.08020.44
5.6.150.0000.04718.14
5.6.140.0100.07018.22
5.6.130.0230.04318.20
5.6.120.0000.07721.02
5.6.110.0070.08021.00
5.6.100.0070.05020.88
5.6.90.0030.08721.10
5.6.80.0130.07720.41
5.6.70.2870.04020.51
5.5.350.0100.04020.43
5.5.340.0100.08017.89
5.5.330.0100.04020.57
5.5.320.0400.06320.29
5.5.310.0270.06720.21
5.5.300.0130.05318.00
5.5.290.0030.08317.91
5.5.280.0030.05320.95
5.5.270.0130.05020.67
5.5.260.0070.06320.85
5.5.250.0070.04720.48
5.5.240.0070.09720.23
5.4.450.0030.04019.21
5.4.440.0070.07719.42
5.4.430.0030.06319.24
5.4.420.0030.07719.42
5.4.410.0130.07019.28
5.4.400.0000.07319.25
5.4.390.0070.03319.22
5.4.380.0100.04319.08
5.4.370.0070.07718.75
5.4.360.0100.06019.06
5.4.350.0070.07718.82
5.4.340.0030.04719.09
5.4.320.0100.04019.25
5.4.310.0030.03718.95
5.4.300.0000.04019.20
5.4.290.0030.04019.24
5.4.280.0030.04018.94
5.4.270.0100.05719.12
5.4.260.0070.07019.24
5.4.250.0000.07719.17
5.4.240.0030.04319.24
5.4.230.0030.07019.21
5.4.220.0100.07018.88
5.4.210.0070.04319.05
5.4.200.0100.04019.07
5.4.190.0030.04318.81
5.4.180.0030.06319.07
5.4.170.0000.08019.21
5.4.160.0070.04019.19
5.4.150.0000.05019.22
5.4.140.0030.07716.26
5.4.130.0070.04716.30
5.4.120.0100.04316.23
5.4.110.0030.04716.39
5.4.100.0000.07316.21
5.4.90.0100.05716.45
5.4.80.0170.06316.32
5.4.70.0000.07316.37
5.4.60.0000.05716.40
5.4.50.0070.06016.45
5.4.40.0030.07316.36
5.4.30.0000.05016.36
5.4.20.0030.07316.17
5.4.10.0070.07316.18
5.4.00.0070.07015.89
5.3.290.0000.04014.71
5.3.280.0030.06714.42
5.3.270.0130.04014.58
5.3.260.0030.06714.53
5.3.250.0000.04314.55
5.3.240.0030.06314.63
5.3.230.0030.05314.48
5.3.220.0000.05014.54
5.3.210.0000.04014.65
5.3.200.0000.05014.53
5.3.190.0030.04314.40
5.3.180.0000.04714.41
5.3.170.0030.07314.51
5.3.160.0030.07314.64
5.3.150.0030.05714.66
5.3.140.0030.06714.50
5.3.130.0000.08314.50
5.3.120.0130.06314.38
5.3.110.0030.07314.49
5.3.100.0100.06713.98
5.3.90.0030.05314.06
5.3.80.0000.05013.96
5.3.70.0000.07313.85
5.3.60.0000.06314.04
5.3.50.0070.07013.78
5.3.40.0030.07013.89
5.3.30.0000.05313.85
5.3.20.0100.06313.71
5.3.10.0000.06013.60
5.3.00.0000.04013.48
5.2.170.0030.03713.20
5.2.160.0070.03013.20
5.2.150.0070.03713.20
5.2.140.0000.06313.20
5.2.130.0000.04313.20
5.2.120.0070.05013.20
5.2.110.0070.03013.20
5.2.100.0000.06313.20
5.2.90.0030.05013.20
5.2.80.0030.06013.20
5.2.70.0070.05713.20
5.2.60.0030.04313.20
5.2.50.0030.05713.20
5.2.40.0030.03013.20
5.2.30.0070.03713.20
5.2.20.0000.03313.20
5.2.10.0030.03313.20
5.2.00.0030.06713.20
5.1.60.0000.05013.20
5.1.50.0000.05013.20
5.1.40.0030.03313.20
5.1.30.0000.05713.20
5.1.20.0030.05013.20
5.1.10.0070.05013.20
5.1.00.0030.05313.20
5.0.50.0030.04013.20
5.0.40.0000.02713.20
5.0.30.0000.03013.20
5.0.20.0000.03013.20
5.0.10.0000.02713.20
5.0.00.0000.06313.20
4.4.90.0000.02313.20
4.4.80.0000.03713.20
4.4.70.0000.02713.20
4.4.60.0030.03013.20
4.4.50.0000.03013.20
4.4.40.0000.04713.20
4.4.30.0030.02313.20
4.4.20.0000.03313.20
4.4.10.0000.04013.20
4.4.00.0000.03713.20
4.3.110.0000.01713.20
4.3.100.0000.01713.20
4.3.90.0000.02013.20
4.3.80.0030.04313.20
4.3.70.0000.02013.20
4.3.60.0030.03313.20
4.3.50.0030.03313.20
4.3.40.0030.05013.20
4.3.30.0000.03013.20
4.3.20.0000.02713.20
4.3.10.0000.02713.20
4.3.00.0030.02013.20

preferences:
36.66 ms | 401 KiB | 5 Q