3v4l.org

run code in 300+ PHP versions simultaneously
<?php $balance_amount = 17.23265; $total_amt = 17.23265; if (($balance_amount - $total_amt)/ $total_amt > 0.00001) { echo 'greater'; } else { echo 'lesser'; }

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.0180.00018.76
8.3.30.0070.00719.09
8.3.20.0080.00020.33
8.3.10.0050.00323.54
8.3.00.0080.00019.26
8.2.170.0030.01222.96
8.2.160.0070.00720.58
8.2.150.0050.00324.18
8.2.140.0060.00324.66
8.2.130.0040.00426.16
8.2.120.0000.00722.22
8.2.110.0060.00320.47
8.2.100.0040.00817.97
8.2.90.0000.00819.08
8.2.80.0060.00317.97
8.2.70.0060.00317.50
8.2.60.0000.00717.80
8.2.50.0060.00318.07
8.2.40.0030.00519.78
8.2.30.0050.00218.04
8.2.20.0040.00417.60
8.2.10.0000.00718.03
8.2.00.0040.00417.73
8.1.270.0100.00022.06
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0090.00023.82
8.1.230.0110.00019.13
8.1.220.0040.00417.76
8.1.210.0040.00418.77
8.1.200.0030.00617.35
8.1.190.0000.00817.11
8.1.180.0040.00418.10
8.1.170.0080.00018.51
8.1.160.0000.00721.89
8.1.150.0070.00018.75
8.1.140.0070.00017.43
8.1.130.0030.00317.83
8.1.120.0040.00417.40
8.1.110.0060.00317.27
8.1.100.0040.00417.38
8.1.90.0070.00017.27
8.1.80.0030.00517.42
8.1.70.0040.00417.36
8.1.60.0000.00817.48
8.1.50.0000.00817.51
8.1.40.0040.00417.47
8.1.30.0080.00017.43
8.1.20.0070.00017.54
8.1.10.0000.00817.38
8.1.00.0050.00217.41
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0000.00718.36
8.0.270.0050.00217.12
8.0.260.0030.00617.28
8.0.250.0000.00716.89
8.0.240.0030.00316.87
8.0.230.0070.00016.89
8.0.220.0000.00716.89
8.0.210.0030.00316.78
8.0.200.0000.00916.77
8.0.190.0080.00016.75
8.0.180.0050.00216.82
8.0.170.0040.00416.88
8.0.160.0000.00716.84
8.0.150.0050.00216.79
8.0.140.0070.00016.77
8.0.130.0050.00013.27
8.0.120.0040.00416.77
8.0.110.0040.00416.78
8.0.100.0000.00816.71
8.0.90.0000.00716.77
8.0.80.0060.00916.80
8.0.70.0000.00716.93
8.0.60.0000.00716.71
8.0.50.0080.00016.63
8.0.30.0080.01116.96
8.0.20.0120.00717.40
8.0.10.0000.00716.79
8.0.00.0130.00916.68
7.4.330.0000.00515.02
7.4.320.0030.00316.37
7.4.300.0000.00716.58
7.4.290.0070.00016.42
7.4.280.0000.00816.44
7.4.270.0040.00416.39
7.4.260.0040.00816.48
7.4.250.0080.00016.41
7.4.240.0040.00416.49
7.4.230.0000.00716.55
7.4.220.0040.01416.48
7.4.210.0090.00616.46
7.4.200.0070.00016.55
7.4.160.0060.00916.26
7.4.150.0120.00617.40
7.4.140.0130.00917.86
7.4.130.0070.01016.57
7.4.120.0100.00616.37
7.4.110.0080.00816.38
7.4.100.0130.00316.49
7.4.90.0120.00416.37
7.4.80.0100.01019.39
7.4.70.0150.00616.59
7.4.60.0040.01216.51
7.4.50.0040.00416.48
7.4.40.0070.01016.51
7.4.30.0110.00416.29
7.4.00.0050.01014.89
7.3.330.0070.00013.19
7.3.320.0000.00513.24
7.3.310.0000.00716.43
7.3.300.0030.00316.23
7.3.290.0050.01016.31
7.3.280.0120.00416.31
7.3.270.0060.01017.40
7.3.260.0100.00716.56
7.3.250.0110.00616.40
7.3.240.0100.00716.54
7.3.230.0090.00916.40
7.3.210.0100.00716.61
7.3.200.0120.00919.39
7.3.190.0090.00816.46
7.3.180.0070.01016.29
7.3.170.0120.00616.42
7.3.160.0130.00316.20
7.3.120.0060.01114.77
7.3.110.0070.01014.70
7.3.100.0060.00914.92
7.3.90.0050.00814.71
7.3.80.0050.00814.73
7.3.70.0050.00714.81
7.3.60.0060.00614.74
7.3.50.0040.00814.59
7.3.40.0030.00614.73
7.3.30.0030.00814.67
7.3.20.0050.00816.58
7.3.10.0070.00716.58
7.3.00.0040.00816.65
7.2.330.0140.00316.66
7.2.320.0110.01116.69
7.2.310.0030.01416.64
7.2.300.0070.01016.46
7.2.290.0070.01516.71
7.2.250.0120.00615.14
7.2.240.0110.00914.90
7.2.230.0080.00514.99
7.2.220.0060.00414.90
7.2.210.0050.00515.14
7.2.200.0030.00914.81
7.2.190.0060.00914.97
7.2.180.0030.01114.97
7.2.170.0060.00714.94
7.2.160.0080.00614.90
7.2.150.0080.00816.78
7.2.140.0000.01216.66
7.2.130.0070.00716.93
7.2.120.0150.00017.02
7.2.110.0060.00616.94
7.2.100.0060.00316.85
7.2.90.0040.00417.05
7.2.80.0030.00716.74
7.2.70.0000.00916.80
7.2.60.0130.00316.98
7.2.50.0090.00916.51
7.2.40.0090.00616.77
7.2.30.0040.00716.87
7.2.20.0040.01117.03
7.2.10.0060.00616.99
7.2.00.0080.00518.00
7.1.330.0070.00715.78
7.1.320.0060.00815.56
7.1.310.0080.00715.71
7.1.300.0060.00815.70
7.1.290.0020.01115.67
7.1.280.0060.00815.74
7.1.270.0050.00615.78
7.1.260.0070.00615.74
7.1.250.0070.00715.80
7.1.100.0060.00617.99
7.1.70.0040.00417.21
7.1.60.0040.01819.11
7.1.50.0030.02316.83
7.1.00.0030.07322.57
7.0.200.0000.00716.85
7.0.140.0000.07721.99
7.0.110.0100.07719.99
7.0.100.0000.04319.90
7.0.90.0030.04719.94
7.0.80.0000.04319.82
7.0.70.0070.07319.90
7.0.60.0130.07320.02
7.0.50.0130.08320.24
7.0.40.0070.08720.08
7.0.30.0030.09020.13
7.0.20.0100.08320.08
7.0.10.0130.07320.07
7.0.00.0170.07320.17
5.6.280.0100.06720.88
5.6.250.0130.04320.70
5.6.240.0030.04020.69
5.6.230.0100.04320.63
5.6.220.0070.08320.66
5.6.210.0070.08020.67
5.6.200.0100.08021.14
5.6.190.0100.06721.07
5.6.180.0100.08321.01
5.6.170.0070.07320.91
5.6.160.0030.06321.05
5.6.150.0030.08021.25
5.6.140.0100.07321.13
5.6.130.0100.08021.13
5.6.120.0130.08021.28
5.6.110.0130.06720.96
5.6.100.0100.07321.12
5.6.90.0030.07721.04
5.6.80.0100.07720.64
5.6.70.0070.08020.33
5.6.60.0070.07720.65
5.6.50.0000.08320.61
5.6.40.0100.07720.49
5.6.30.0170.07020.54
5.6.20.0100.07020.37
5.6.10.0230.06720.49
5.6.00.0030.07320.43
5.5.380.0100.04020.36
5.5.370.0070.04020.28
5.5.360.0130.07320.39
5.5.350.0070.07720.15
5.5.340.0170.07320.91
5.5.330.0070.06320.70
5.5.320.0130.07720.96
5.5.310.0000.05720.73
5.5.300.0200.07020.77
5.5.290.0000.09320.83
5.5.280.0130.07320.90
5.5.270.0100.08720.93
5.5.260.0170.07320.68
5.5.250.0070.08020.50
5.5.240.0070.08020.39
5.5.230.0100.07720.32
5.5.220.0130.07320.06
5.5.210.0100.08020.25
5.5.200.0130.07320.32
5.5.190.0030.08320.20
5.5.180.0030.08320.15
5.5.160.0170.07020.29
5.5.150.0070.07720.31
5.5.140.0070.07720.29
5.5.130.0030.05720.27
5.5.120.0000.07720.24
5.5.110.0070.08020.15
5.5.100.0100.04719.98
5.5.90.0000.08320.02
5.5.80.0130.07020.04
5.5.70.0070.08020.03
5.5.60.0100.07320.15
5.5.50.0030.08719.95
5.5.40.0130.06320.16
5.5.30.0070.07320.02
5.5.20.0100.07320.02
5.5.10.0030.07720.21
5.5.00.0030.07720.02
5.4.450.0130.07019.36
5.4.440.0030.06719.30
5.4.430.0070.08019.48
5.4.420.0100.06319.30
5.4.410.0030.05719.20
5.4.400.0100.07019.14
5.4.390.0070.07319.07
5.4.380.0200.06319.03
5.4.370.0170.06719.08
5.4.360.0100.08019.00
5.4.350.0100.07318.90
5.4.340.0030.09719.11
5.4.320.0130.07019.18
5.4.310.0100.07019.12
5.4.300.0000.05019.03
5.4.290.0130.07318.98
5.4.280.0100.07718.99
5.4.270.0030.05718.94
5.4.260.0070.07719.17
5.4.250.0030.07019.07
5.4.240.0070.07719.00
5.4.230.0070.08019.17
5.4.220.0070.08319.11
5.4.210.0170.06018.95
5.4.200.0000.07719.27
5.4.190.0100.07319.05
5.4.180.0100.07019.06
5.4.170.0070.07719.07
5.4.160.0070.07319.05
5.4.150.0170.07318.94
5.4.140.0030.07316.46
5.4.130.0070.04316.21
5.4.120.0070.07716.16
5.4.110.0070.07016.52
5.4.100.0130.06316.50
5.4.90.0070.06716.37
5.4.80.0030.07716.49
5.4.70.0070.06316.39
5.4.60.0070.04316.48
5.4.50.0170.05716.37
5.4.40.0070.07716.53
5.4.30.0100.07016.20
5.4.20.0070.06716.17
5.4.10.0030.07016.46
5.4.00.0030.07715.96
5.3.290.0130.07014.45
5.3.280.0130.06714.59
5.3.270.0100.04014.60
5.3.260.0130.06714.39
5.3.250.0070.07014.66
5.3.240.0100.04714.53
5.3.230.0030.07314.51
5.3.220.0100.04314.46
5.3.210.0070.07714.46
5.3.200.0030.06714.41
5.3.190.0130.06714.52
5.3.180.0070.07314.62
5.3.170.0030.07314.50
5.3.160.0070.05014.38
5.3.150.0100.06714.62
5.3.140.0070.07714.39
5.3.130.0030.07314.33
5.3.120.0070.08014.48
5.3.110.0170.03314.33
5.3.100.0030.07013.97
5.3.90.0170.05713.96
5.3.80.0130.06313.84
5.3.70.0070.07313.95
5.3.60.0030.07014.11
5.3.50.0130.06313.76
5.3.40.0070.06713.88
5.3.30.0070.05713.84
5.3.20.0070.06313.76
5.3.10.0100.06713.48
5.3.00.0100.03313.56
5.2.170.0100.05711.16
5.2.160.0070.05711.20
5.2.150.0030.06711.03
5.2.140.0070.05711.06
5.2.130.0030.06710.89
5.2.120.0000.06711.02
5.2.110.0100.03711.15
5.2.100.0070.06310.89
5.2.90.0030.04711.16
5.2.80.0070.06011.00
5.2.70.0000.03710.98
5.2.60.0070.05011.00
5.2.50.0070.06010.96
5.2.40.0030.04011.06
5.2.30.0130.05710.75
5.2.20.0070.06010.84
5.2.10.0030.05310.86
5.2.00.0000.04310.93
5.1.60.0070.0509.88
5.1.50.0030.0539.92
5.1.40.0130.0439.88
5.1.30.0070.05010.34
5.1.20.0000.05010.33
5.1.10.0100.05010.11
5.1.00.0000.0539.95
5.0.50.0070.0378.69
5.0.40.0070.0408.46
5.0.30.0070.0638.18
5.0.20.0030.0408.36
5.0.10.0030.0438.13
5.0.00.0000.0608.23
4.4.90.0000.0377.93
4.4.80.0000.0377.93
4.4.70.0000.0307.93
4.4.60.0030.0377.93
4.4.50.0000.0307.93
4.4.40.0070.0507.93
4.4.30.0000.0277.93
4.4.20.0100.0277.93
4.4.10.0070.0307.93
4.4.00.0000.0377.93
4.3.110.0000.0207.93
4.3.100.0030.0337.93
4.3.90.0000.0237.93
4.3.80.0000.0537.93
4.3.70.0000.0337.93
4.3.60.0130.0237.93
4.3.50.0000.0337.93
4.3.40.0000.0507.93
4.3.30.0000.0377.93
4.3.20.0030.0307.93
4.3.10.0030.0337.93
4.3.00.0000.0337.93

preferences:
51.5 ms | 400 KiB | 5 Q