3v4l.org

run code in 300+ PHP versions simultaneously
<?php //todo: ceny bez tarifu $tariff_price = $product->getPriceByRelevantPriceSet(); $store_price = $product->getStorePriceByRelevantPriceSet(); $discount = $product->getProductDiscount(); dump($discount); ?>

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.0150.00618.31
8.3.50.0100.01021.05
8.3.40.0110.00418.83
8.3.30.0100.00318.59
8.3.20.0070.00020.21
8.3.10.0000.00823.66
8.3.00.0030.00619.79
8.2.180.0170.00318.29
8.2.170.0140.00422.96
8.2.160.0110.00420.35
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0130.00626.16
8.2.120.0030.00517.63
8.2.110.0000.00919.27
8.2.100.0040.00717.91
8.2.90.0080.00019.08
8.2.80.0030.00717.97
8.2.70.0050.00317.63
8.2.60.0040.00417.93
8.2.50.0060.00318.10
8.2.40.0040.00419.28
8.2.30.0040.00419.79
8.2.20.0040.00417.64
8.2.10.0040.00417.86
8.2.00.0000.00717.98
8.1.280.0090.01225.92
8.1.270.0150.00422.11
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0070.01422.80
8.1.230.0030.01017.83
8.1.220.0030.00517.74
8.1.210.0060.00318.77
8.1.200.0060.00317.12
8.1.190.0080.00017.23
8.1.180.0030.00618.10
8.1.170.0000.00818.52
8.1.160.0000.00721.81
8.1.150.0040.00418.66
8.1.140.0000.00917.32
8.1.130.0030.00317.47
8.1.120.0030.00317.29
8.1.110.0000.00717.30
8.1.100.0000.00717.37
8.1.90.0070.00017.28
8.1.80.0000.00717.18
8.1.70.0000.00717.36
8.1.60.0000.00717.42
8.1.50.0030.00617.46
8.1.40.0030.00617.34
8.1.30.0030.00617.54
8.1.20.0070.00017.51
8.1.10.0000.00817.41
8.1.00.0030.00617.39
8.0.300.0040.00418.77
8.0.290.0080.00016.63
8.0.280.0030.00318.25
8.0.270.0030.00317.18
8.0.260.0000.00617.14
8.0.250.0000.00716.91
8.0.240.0030.00317.00
8.0.230.0000.00716.92
8.0.220.0000.00716.89
8.0.210.0080.00016.77
8.0.200.0060.00017.00
8.0.190.0000.00916.94
8.0.180.0060.00516.83
8.0.170.0080.00016.88
8.0.160.0040.00416.80
8.0.150.0070.00016.79
8.0.140.0000.00716.85
8.0.130.0070.00013.32
8.0.120.0060.00316.83
8.0.110.0000.00916.95
8.0.100.0040.00416.85
8.0.90.0000.00816.91
8.0.80.0130.00316.79
8.0.70.0000.00716.84
8.0.60.0000.00716.83
8.0.50.0000.00716.90
8.0.30.0060.01517.14
8.0.20.0070.01117.40
8.0.10.0070.00016.75
8.0.00.0140.00816.67
7.4.330.0020.00215.08
7.4.320.0000.00616.38
7.4.300.0060.00016.41
7.4.290.0040.00416.50
7.4.280.0040.00416.50
7.4.270.0000.00616.52
7.4.260.0000.00716.51
7.4.250.0040.00416.40
7.4.240.0040.00316.54
7.4.230.0000.00716.61
7.4.220.0090.00916.61
7.4.210.0070.01016.39
7.4.200.0000.00816.56
7.4.160.0170.00016.42
7.4.150.0100.00717.40
7.4.140.0110.01217.86
7.4.130.0100.00716.41
7.4.120.0120.00516.46
7.4.110.0120.00616.41
7.4.100.0100.01416.63
7.4.90.0150.00316.44
7.4.80.0180.00019.39
7.4.70.0080.00816.41
7.4.60.0100.00616.55
7.4.50.0000.00816.68
7.4.40.0110.00616.45
7.4.30.0160.00716.33
7.4.00.0030.01415.04
7.3.330.0040.00413.08
7.3.320.0080.00013.00
7.3.310.0070.00016.34
7.3.300.0060.00016.18
7.3.290.0080.00816.22
7.3.280.0110.00916.24
7.3.270.0110.00717.40
7.3.260.0120.00616.43
7.3.240.0090.00916.32
7.3.230.0080.00816.39
7.3.210.0060.01616.14
7.3.200.0080.00916.45
7.3.190.0090.00916.31
7.3.180.0100.00716.39
7.3.170.0120.00316.27
7.3.160.0160.00716.25
7.3.120.0040.01414.77
7.3.110.0140.00414.71
7.3.100.0140.00314.75
7.3.90.0130.00314.96
7.3.80.0060.00614.72
7.3.70.0100.00314.84
7.3.60.0030.00914.59
7.3.50.0000.00914.69
7.3.40.0070.00714.77
7.3.30.0040.01114.79
7.3.20.0060.00616.80
7.3.10.0090.01016.55
7.3.00.0250.00516.60
7.2.330.0070.01316.44
7.2.320.0080.01116.54
7.2.310.0070.01016.32
7.2.300.0090.01016.61
7.2.290.0040.01516.40
7.2.250.0100.01014.99
7.2.240.0040.01114.97
7.2.230.0130.00314.79
7.2.220.0090.00314.55
7.2.210.0060.01014.93
7.2.200.0040.01114.73
7.2.190.0100.00714.77
7.2.180.0060.00615.06
7.2.170.0000.01414.98
7.2.130.0170.00816.62
7.2.120.0080.01116.54
7.2.110.0290.00316.76
7.2.100.0210.00916.60
7.2.90.0040.00916.69
7.2.80.0040.00916.56
7.2.70.0090.00716.73
7.2.60.0100.00716.71
7.2.50.0100.00416.54
7.2.40.0030.00916.74
7.2.30.0120.00716.72
7.2.20.0050.00616.71
7.2.10.0030.00916.56
7.2.00.0080.00617.49
7.1.330.0030.01015.54
7.1.320.0040.00415.56
7.1.310.0080.00415.36
7.1.300.0090.00615.70
7.1.290.0030.00915.39
7.1.280.0000.00815.28
7.1.270.0000.01015.47
7.1.260.0000.01015.49
7.1.250.0140.00615.46
7.1.200.0060.00615.37
7.1.100.0090.00617.65
7.1.70.0000.00716.74
7.1.60.0100.01319.12
7.1.50.0030.01316.52
7.1.00.0030.07322.54
7.0.200.0070.00416.54
7.0.60.0200.06020.03
7.0.50.0000.04717.86
7.0.40.0100.07020.19
7.0.30.0230.04020.13
7.0.20.0270.08320.16
7.0.10.0000.07020.19
7.0.00.0100.06020.14
5.6.280.0100.05720.82
5.6.210.0130.07720.62
5.6.200.0070.07318.09
5.6.190.0070.04720.77
5.6.180.0130.04720.27
5.6.170.0330.06720.50
5.6.160.0070.04020.41
5.6.150.0130.04018.21
5.6.140.0100.06318.09
5.6.130.0030.04318.11
5.6.120.0070.09020.99
5.6.110.0070.08320.99
5.6.100.0070.04721.13
5.6.90.0070.08020.99
5.6.80.0030.07320.39
5.6.70.0330.06720.40
5.5.350.0200.07320.42
5.5.340.0030.05018.01
5.5.330.0100.07720.23
5.5.320.0100.04020.28
5.5.310.0400.06720.23
5.5.300.0030.05017.98
5.5.290.0070.03718.02
5.5.280.0070.04020.98
5.5.270.0100.08020.75
5.5.260.0070.09020.84
5.5.250.0070.08020.61
5.5.240.0230.04720.26
5.4.450.0470.07319.52
5.4.440.0630.08319.24
5.4.430.0970.07019.27
5.4.420.0700.07319.62
5.4.410.0770.07719.50
5.4.400.0730.06719.16
5.4.390.0570.05018.78
5.4.380.0600.06019.20
5.4.370.0570.07319.15
5.4.360.0670.07318.78
5.4.350.0630.06319.30
5.4.340.0730.06718.93
5.4.320.0670.06718.95
5.4.310.0570.04718.93
5.4.300.0800.08019.24
5.4.290.0430.05319.01
5.4.280.0670.06719.15
5.4.270.0570.05719.14
5.4.260.0600.05719.16
5.4.250.0700.07018.84
5.4.240.0530.05718.94
5.4.230.0530.04319.29
5.4.220.0430.06019.09
5.4.210.0570.05319.29
5.4.200.0600.06018.99
5.4.190.0430.06019.21
5.4.180.0400.06319.26
5.4.170.0730.05719.21
5.4.160.0700.05019.04
5.4.150.0770.06319.11
5.4.140.0500.07316.29
5.4.130.0630.05016.28
5.4.120.0500.06316.47
5.4.110.0500.06716.37
5.4.100.0700.06316.45
5.4.90.0770.05716.47
5.4.80.0570.04316.35
5.4.70.0170.03316.41
5.4.60.0330.05316.32
5.4.50.0000.07316.36
5.4.40.0070.07016.45
5.4.30.0030.06316.36
5.4.20.0100.04716.38

preferences:
58.8 ms | 401 KiB | 5 Q