3v4l.org

run code in 300+ PHP versions simultaneously
<?php $Imponibile = 727.88; $Aliquota = "22.00"; $Imposte = (($Imponibile * $Aliquota) / 100); if (empty($Imposte)) { $Imposte = 0; } $Totale = ($Imponibile + $Imposte); if (empty($Totale)) { $Totale = 0; } echo $Totale.'<br>'; echo $Imposte;

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.01418.40
8.3.50.0070.00718.32
8.3.40.0120.00418.84
8.3.30.0030.01018.51
8.3.20.0080.00020.29
8.3.10.0040.00418.78
8.3.00.0040.00420.21
8.2.180.0150.00018.41
8.2.170.0110.00422.96
8.2.160.0030.01422.12
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0000.00818.83
8.2.120.0000.00826.35
8.2.110.0070.01020.89
8.2.100.0090.00317.72
8.2.90.0040.00418.15
8.2.80.0080.00018.05
8.2.70.0040.00418.03
8.2.60.0050.00218.22
8.2.50.0030.00618.10
8.2.40.0050.00321.18
8.2.30.0040.00418.11
8.2.20.0000.00717.73
8.2.10.0000.00718.02
8.2.00.0000.00718.11
8.1.280.0070.01125.92
8.1.270.0030.00524.01
8.1.260.0040.00428.09
8.1.250.0080.00028.09
8.1.240.0120.00017.39
8.1.230.0120.00020.89
8.1.220.0050.00317.79
8.1.210.0070.00020.88
8.1.200.0060.00317.23
8.1.190.0080.00017.00
8.1.180.0060.00318.10
8.1.170.0040.00418.32
8.1.160.0000.00718.70
8.1.150.0040.00418.93
8.1.140.0000.00819.42
8.1.130.0040.00417.69
8.1.120.0000.00817.45
8.1.110.0040.00417.27
8.1.100.0050.00317.40
8.1.90.0040.00417.29
8.1.80.0000.00817.41
8.1.70.0000.00717.36
8.1.60.0040.00417.45
8.1.50.0060.00317.44
8.1.40.0090.00017.42
8.1.30.0040.00417.57
8.1.20.0030.00617.55
8.1.10.0050.00217.48
8.1.00.0000.00817.45
8.0.300.0040.00419.50
8.0.290.0040.00416.63
8.0.280.0000.00718.50
8.0.270.0040.00417.29
8.0.260.0000.00617.25
8.0.250.0070.00017.00
8.0.240.0000.00716.95
8.0.230.0070.00016.95
8.0.220.0090.00016.91
8.0.210.0040.00416.75
8.0.200.0030.00316.83
8.0.190.0000.00816.92
8.0.180.0080.00016.91
8.0.170.0070.00016.88
8.0.160.0030.00517.02
8.0.150.0070.00016.79
8.0.140.0070.00016.80
8.0.130.0030.00313.32
8.0.120.0000.00816.82
8.0.110.0030.00516.78
8.0.100.0000.00716.91
8.0.90.0040.00416.91
8.0.80.0040.01116.89
8.0.70.0000.00716.91
8.0.60.0050.00216.89
8.0.50.0060.00316.78
8.0.30.0090.00716.90
8.0.20.0180.00517.40
8.0.10.0000.00716.80
8.0.00.0110.00816.84
7.4.330.0000.00616.77
7.4.320.0000.00716.35
7.4.300.0030.00316.49
7.4.290.0000.00616.44
7.4.280.0040.00416.57
7.4.270.0040.00416.37
7.4.260.0030.00516.42
7.4.250.0000.00716.38
7.4.240.0000.00716.44
7.4.230.0030.00316.25
7.4.220.0090.00916.61
7.4.210.0060.00916.49
7.4.200.0000.00816.63
7.4.160.0110.00716.42
7.4.150.0090.01017.40
7.4.140.0020.01617.86
7.4.130.0120.00716.33
7.4.120.0110.00616.43
7.4.110.0090.00916.45
7.4.100.0080.00816.38
7.4.90.0070.01316.60
7.4.80.0110.00519.39
7.4.70.0040.01716.32
7.4.60.0090.00616.50
7.4.50.0070.00916.23
7.4.40.0100.00716.57
7.4.30.0100.00616.57
7.4.00.0110.00314.92
7.3.330.0000.00613.19
7.3.320.0030.00313.09
7.3.310.0030.00316.26
7.3.300.0070.00016.33
7.3.290.0030.01216.27
7.3.280.0070.01216.26
7.3.270.0120.00617.40
7.3.260.0040.01216.45
7.3.250.0120.00816.17
7.3.240.0070.01116.52
7.3.230.0100.00716.39
7.3.210.0100.00716.26
7.3.200.0130.00316.59
7.3.190.0120.00316.52
7.3.180.0100.00716.55
7.3.170.0060.01016.24
7.3.160.0190.00416.32
7.3.10.0040.01116.43
7.3.00.0030.00716.63
7.2.330.0100.00716.49
7.2.320.0110.01416.44
7.2.310.0140.00316.70
7.2.300.0100.01016.72
7.2.290.0090.01216.60
7.2.130.0130.00316.83
7.2.120.0100.00016.61
7.2.110.0060.00916.84
7.2.100.0060.00916.56
7.2.90.0000.01016.74
7.2.80.0090.00617.04
7.2.70.0050.00517.04
7.2.60.0080.00516.85
7.2.50.0070.00716.65
7.2.40.0110.00017.01
7.2.30.0030.00617.09
7.2.20.0030.01216.62
7.2.10.0030.01016.99
7.2.00.0030.01218.03
7.1.250.0030.00915.77
7.1.200.0100.00315.74
7.1.100.0170.01018.02
7.1.70.0070.00317.16
7.1.60.0100.01319.77
7.1.00.0070.07322.45
7.0.200.0140.00416.58
7.0.60.0170.03319.93
7.0.50.0070.04717.80
7.0.40.0100.04020.14
7.0.30.0200.04320.20
7.0.20.0400.07020.00
7.0.10.0070.07320.02
7.0.00.0130.08320.10
5.6.280.0000.07321.08
5.6.210.0100.07020.60
5.6.200.0070.08018.09
5.6.190.0030.08720.49
5.6.180.0330.07720.27
5.6.170.0330.08320.71
5.6.160.0030.08720.38
5.6.150.0030.05018.07
5.6.140.0000.04318.11
5.6.130.0070.04318.07
5.6.120.0030.04321.14
5.6.110.0070.04720.99
5.6.100.0070.03721.06
5.6.90.0100.04020.94
5.6.80.0030.07320.48
5.5.350.0300.07320.42
5.5.340.0070.08017.93
5.5.330.0000.04720.43
5.5.320.0500.06320.24
5.5.310.0230.07320.27
5.5.300.0130.07017.91
5.5.290.0030.08018.01
5.5.280.0100.03320.95
5.5.270.0130.08020.96
5.5.260.0030.07320.79
5.5.250.0100.08320.68
5.5.240.0300.07320.22

preferences:
60 ms | 401 KiB | 5 Q