3v4l.org

run code in 300+ PHP versions simultaneously
<?php $sellerDiscount=56.595; $this->result['loan_amount']=539; echo number_format($sellerDiscount, 2, ',', ''); echo number_format(($sellerDiscount / 1.21), 2, ',', ''); echo number_format(($sellerDiscount - ($sellerDiscount / 1.21)), 2, ',', ''); echo number_format($this->result['loan_amount'] - $sellerDiscount, 2, ',', ''); echo number_format((($this->result['loan_amount'] - $sellerDiscount) * 0.702804), 2, ',', '');

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.40.0040.01118.67
8.3.30.0070.00718.74
8.3.20.0040.00420.04
8.3.10.0050.00321.95
8.3.00.0040.00417.68
8.2.170.0140.00422.96
8.2.160.0070.01320.33
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0060.00317.50
8.2.110.0030.00822.25
8.2.100.0120.00019.76
8.2.90.0000.00719.05
8.2.80.0000.00817.97
8.2.70.0100.00017.75
8.2.60.0000.00917.80
8.2.50.0000.00818.07
8.2.40.0100.00019.22
8.2.30.0070.00020.48
8.2.20.0020.00517.67
8.2.10.0040.00417.92
8.2.00.0040.00418.03
8.1.270.0090.00321.84
8.1.260.0060.00326.35
8.1.250.0000.00728.09
8.1.240.0080.00020.82
8.1.230.0030.01017.42
8.1.220.0050.00317.74
8.1.210.0040.00418.77
8.1.200.0030.00617.25
8.1.190.0050.00317.10
8.1.180.0000.00818.10
8.1.170.0030.00518.37
8.1.160.0070.00021.94
8.1.150.0000.00718.81
8.1.140.0090.00017.33
8.1.130.0040.00417.63
8.1.120.0030.00317.40
8.1.110.0040.00417.36
8.1.100.0040.00417.34
8.1.90.0000.00817.31
8.1.80.0050.00517.35
8.1.70.0030.00317.29
8.1.60.0030.00517.57
8.1.50.0030.00517.36
8.1.40.0080.00017.35
8.1.30.0030.00617.64
8.1.20.0050.00217.63
8.1.10.0030.00617.51
8.1.00.0040.00417.42
8.0.300.0040.00418.77
8.0.290.0060.00316.75
8.0.280.0050.00318.38
8.0.270.0000.00717.06
8.0.260.0030.00317.20
8.0.250.0030.00616.97
8.0.240.0040.00416.99
8.0.230.0070.00016.87
8.0.220.0030.00616.91
8.0.210.0070.00016.86
8.0.200.0040.00416.85
8.0.190.0000.00716.89
8.0.180.0040.00416.96
8.0.170.0040.00416.80
8.0.160.0030.00516.90
8.0.150.0000.00716.86
8.0.140.0000.00816.80
8.0.130.0050.00013.35
8.0.120.0000.00816.75
8.0.110.0000.00816.77
8.0.100.0040.00416.76
8.0.90.0040.00416.82
8.0.80.0130.00316.88
8.0.70.0000.00716.89
8.0.60.0040.00416.84
8.0.50.0040.00416.91
8.0.30.0090.01017.15
8.0.20.0120.00717.40
8.0.10.0080.00016.99
8.0.00.0130.00516.76
7.4.330.0020.00215.08
7.4.320.0060.00016.54
7.4.300.0000.00616.59
7.4.290.0030.00316.35
7.4.280.0050.00316.34
7.4.270.0000.00816.61
7.4.260.0050.00216.50
7.4.250.0000.00716.48
7.4.240.0020.00616.55
7.4.230.0080.00016.68
7.4.220.0120.00616.65
7.4.210.0070.01316.70
7.4.200.0030.00316.67
7.4.160.0110.00516.49
7.4.150.0060.01217.40
7.4.140.0180.00617.86
7.4.130.0090.00916.51
7.4.120.0070.01016.56
7.4.110.0080.00916.50
7.4.100.0150.00416.34
7.4.90.0050.01116.47
7.4.80.0120.00619.39
7.4.70.0070.01016.57
7.4.60.0040.01816.40
7.4.50.0030.00516.55
7.4.40.0090.00816.54
7.4.30.0100.00716.64
7.4.00.0060.01114.89
7.3.330.0030.00312.99
7.3.320.0030.00313.14
7.3.310.0030.00316.34
7.3.300.0030.00316.30
7.3.290.0060.00916.27
7.3.280.0040.01316.28
7.3.270.0100.00617.40
7.3.260.0060.01116.48
7.3.250.0110.00816.35
7.3.240.0070.01016.53
7.3.230.0000.02216.50
7.3.210.0100.00716.22
7.3.200.0100.00616.29
7.3.190.0030.01316.29
7.3.180.0100.00716.38
7.3.170.0100.00716.32
7.3.160.0070.01416.36
7.3.120.0070.01014.84
7.3.110.0140.00414.90
7.3.100.0070.00714.83
7.3.90.0030.01314.91
7.3.80.0060.00314.64
7.3.70.0030.01014.80
7.3.60.0040.00414.82
7.3.50.0090.00314.93
7.3.40.0040.00814.88
7.3.30.0100.00314.92
7.3.20.0040.00816.66
7.3.10.0060.00316.47
7.3.00.0060.00316.69
7.2.330.0030.01316.58
7.2.320.0110.00516.39
7.2.310.0130.00316.39
7.2.300.0080.00816.71
7.2.290.0100.01316.67
7.2.250.0000.01414.90
7.2.240.0100.01014.88
7.2.230.0060.00615.12
7.2.220.0030.00614.68
7.2.210.0050.00514.75
7.2.200.0080.00615.06
7.2.190.0070.00714.84
7.2.180.0100.00614.98
7.2.170.0000.00915.02
7.2.110.0470.00415.91
7.2.60.0090.00616.68
7.2.00.0030.00919.35
7.1.330.0070.00715.42
7.1.320.0060.00315.47
7.1.310.0070.00715.72
7.1.300.0080.00415.41
7.1.290.0100.00715.54
7.1.280.0050.00515.67
7.1.270.0070.01015.56
7.1.260.0110.00015.65
7.1.200.0000.01315.44
7.1.100.0060.00617.75
7.1.70.0000.01217.19
7.1.60.0170.00719.19
7.1.50.0090.01616.54
7.1.00.0030.07722.46
7.0.200.0030.00316.43
7.0.60.0000.04319.85
7.0.50.0130.06317.79
7.0.40.0030.07320.20
7.0.30.0230.06020.21
7.0.20.0330.03720.04
7.0.10.0030.05319.99
7.0.00.0000.05020.12
5.6.280.0000.07720.77
5.6.210.0070.06720.64
5.6.200.0070.05318.19
5.6.190.0030.04320.41
5.6.180.0270.05020.43
5.6.170.0230.05020.52
5.6.160.0100.04020.27
5.6.150.0000.04318.18
5.6.140.0030.05018.11
5.6.130.0030.08318.11
5.6.120.0100.08720.96
5.6.110.0170.07021.00
5.6.100.0170.07321.02
5.6.90.0130.08721.13
5.6.80.0100.07020.43
5.5.350.0100.06020.43
5.5.340.0070.06718.05
5.5.330.0030.07020.21
5.5.320.0430.07020.34
5.5.310.0230.07720.17
5.5.300.0130.02717.98
5.5.290.0100.07718.01
5.5.280.0030.08320.87
5.5.270.0030.04320.60
5.5.260.0070.08320.87
5.5.250.0130.07020.57
5.5.240.0030.04320.03
5.4.450.0070.06319.47
5.4.440.0200.06719.13
5.4.430.0130.06019.32
5.4.420.0130.05319.47
5.4.410.0100.05719.28
5.4.400.0070.05719.22
5.4.390.0130.05319.12
5.4.380.0300.06019.31
5.4.370.0070.06319.13
5.4.360.0170.05719.30
5.4.350.0170.05018.82
5.4.340.0130.05318.80
5.4.320.0100.06019.30
5.4.310.0170.04719.05
5.4.300.0070.05718.94
5.4.290.0170.05018.93
5.4.280.0070.06018.91
5.4.270.0170.05019.16
5.4.260.0300.03719.14
5.4.250.0070.06019.21
5.4.240.0070.05719.14
5.4.230.0200.05019.23
5.4.220.0300.05018.77
5.4.210.0270.06718.99
5.4.200.0100.06319.12
5.4.190.0070.05718.98
5.4.180.0130.05018.93
5.4.170.0130.05719.21
5.4.160.0200.05318.78
5.4.150.0230.06019.13
5.4.140.0170.05716.50
5.4.130.0100.06716.37
5.4.120.0300.03716.59
5.4.110.0300.05716.47
5.4.100.0200.05716.07
5.4.90.0130.04716.21
5.4.80.0130.05016.50
5.4.70.0230.06716.41
5.4.60.0100.07016.19
5.4.50.0030.07016.04
5.4.40.0170.03316.38
5.4.30.0300.04016.46
5.4.20.0200.04016.20

preferences:
42.98 ms | 400 KiB | 5 Q