3v4l.org

run code in 300+ PHP versions simultaneously
<?php $balance_amount = 17.23265; $total_amt = 17.23265; if ($balance_amount >= $total_amt) { 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.60.0140.00318.43
8.3.50.0120.00822.05
8.3.40.0070.00718.67
8.3.30.0030.01019.07
8.3.20.0040.00420.39
8.3.10.0040.00423.48
8.3.00.0040.00419.13
8.2.180.0070.01016.61
8.2.170.0110.00622.96
8.2.160.0030.01020.28
8.2.150.0070.00024.18
8.2.140.0060.00324.66
8.2.130.0000.00726.16
8.2.120.0060.00322.23
8.2.110.0040.00420.52
8.2.100.0040.00717.72
8.2.90.0080.00017.72
8.2.80.0000.00719.45
8.2.70.0050.00317.93
8.2.60.0030.00518.04
8.2.50.0060.00318.10
8.2.40.0040.00420.47
8.2.30.0070.00018.05
8.2.20.0030.00517.66
8.2.10.0070.00017.90
8.2.00.0000.00717.54
8.1.280.0090.00625.92
8.1.270.0000.00822.08
8.1.260.0000.00726.35
8.1.250.0070.00028.09
8.1.240.0100.00019.07
8.1.230.0040.00720.89
8.1.220.0040.00417.74
8.1.210.0030.00618.77
8.1.200.0000.00817.23
8.1.190.0040.00417.10
8.1.180.0020.00518.10
8.1.170.0040.00418.49
8.1.160.0070.00022.18
8.1.150.0030.00318.81
8.1.140.0000.00717.30
8.1.130.0040.00417.74
8.1.120.0040.00417.34
8.1.110.0000.00817.31
8.1.100.0070.00017.29
8.1.90.0040.00417.41
8.1.80.0000.00817.39
8.1.70.0040.00417.25
8.1.60.0030.00617.43
8.1.50.0000.00817.43
8.1.40.0030.00517.34
8.1.30.0060.00317.59
8.1.20.0060.00317.59
8.1.10.0050.00317.55
8.1.00.0040.00417.47
8.0.300.0070.00020.08
8.0.290.0040.00416.63
8.0.280.0060.00018.36
8.0.270.0000.00717.30
8.0.260.0040.00417.26
8.0.250.0000.00716.89
8.0.240.0030.00316.73
8.0.230.0070.00016.83
8.0.220.0000.00716.79
8.0.210.0030.00316.68
8.0.200.0040.00416.78
8.0.190.0040.00416.78
8.0.180.0000.00716.75
8.0.170.0040.00416.80
8.0.160.0000.00716.83
8.0.150.0040.00416.66
8.0.140.0000.00816.76
8.0.130.0070.00013.18
8.0.120.0050.00316.70
8.0.110.0080.00016.80
8.0.100.0080.00016.87
8.0.90.0040.00416.83
8.0.80.0090.00616.71
8.0.70.0050.00316.82
8.0.60.0000.00816.82
8.0.50.0040.00416.67
8.0.30.0090.00917.05
8.0.20.0070.01217.40
8.0.10.0080.00016.93
8.0.00.0060.01316.74
7.4.330.0000.00515.02
7.4.320.0030.00316.59
7.4.300.0070.00016.42
7.4.290.0000.00616.45
7.4.280.0000.00716.43
7.4.270.0060.00016.45
7.4.260.0030.00316.42
7.4.250.0070.00016.55
7.4.240.0060.00116.35
7.4.230.0000.00716.52
7.4.220.0030.01516.48
7.4.210.0030.01616.59
7.4.200.0040.00416.49
7.4.160.0080.00816.39
7.4.150.0060.01217.40
7.4.140.0090.00917.86
7.4.130.0110.00916.50
7.4.120.0090.00916.46
7.4.110.0070.01016.42
7.4.100.0140.00316.46
7.4.90.0100.00716.58
7.4.80.0030.01419.39
7.4.70.0120.00316.48
7.4.60.0100.00616.33
7.4.50.0050.00316.25
7.4.40.0150.00316.27
7.4.30.0030.01216.44
7.4.00.0030.01315.00
7.3.330.0030.00312.95
7.3.320.0030.00313.00
7.3.310.0000.00716.07
7.3.300.0070.00016.21
7.3.290.0060.00916.18
7.3.280.0070.01216.23
7.3.270.0100.00717.40
7.3.260.0140.00316.39
7.3.250.0140.00516.37
7.3.240.0140.01416.29
7.3.230.0100.00616.39
7.3.210.0110.00516.19
7.3.200.0150.00619.39
7.3.190.0060.01216.30
7.3.180.0090.00616.59
7.3.170.0090.01216.29
7.3.160.0080.00816.20
7.3.10.0030.00916.44
7.3.00.0040.00716.64
7.2.330.0070.01016.54
7.2.320.0050.01116.49
7.2.310.0060.01016.40
7.2.300.0060.01216.68
7.2.290.0090.01316.64
7.2.130.0060.00616.92
7.2.120.0060.00316.40
7.2.110.0110.00416.59
7.2.100.0080.00516.67
7.2.90.0100.00316.74
7.2.80.0100.00216.73
7.2.70.0100.00316.84
7.2.60.0080.00816.81
7.2.50.0080.00616.75
7.2.40.0080.00816.82
7.2.30.0110.00316.64
7.2.20.0080.00716.61
7.2.10.0120.00316.93
7.2.00.0050.01017.62
7.1.250.0030.00715.58
7.1.230.0140.00715.64
7.1.220.0130.00015.65
7.1.210.2640.01315.69
7.1.200.0070.00815.53
7.1.190.0590.00715.34
7.1.180.0390.00315.51
7.1.170.0040.01415.56
7.1.160.0070.01015.65
7.1.150.0070.00715.71
7.1.140.0120.00415.58
7.1.130.0040.01215.77
7.1.120.0180.00015.72
7.1.110.0080.00815.84
7.1.100.0050.00916.63
7.1.90.0090.00915.36
7.1.80.0130.00515.51
7.1.70.0090.00516.38
7.1.60.0090.01417.45
7.1.50.0170.00516.30
7.1.40.0210.00015.77
7.1.30.0180.00315.68
7.1.20.0180.00315.91
7.1.10.0050.00915.63
7.1.00.0090.04018.99
7.0.310.0130.00315.06
7.0.300.0120.00415.24
7.0.290.0060.00915.31
7.0.280.0120.00615.30
7.0.270.0090.00615.49
7.0.260.0090.00915.32
7.0.250.0150.00315.30
7.0.240.0170.00015.54
7.0.230.0390.00315.38
7.0.220.0040.01215.43
7.0.210.0120.00615.25
7.0.200.0270.00715.95
7.0.190.0080.00815.21
7.0.180.0140.00515.37
7.0.170.0100.00315.15
7.0.160.0120.00215.04
7.0.150.0040.01515.38
7.0.140.0130.03218.71
7.0.130.0090.00915.31
7.0.120.0790.00315.30
7.0.110.0110.00015.28
7.0.100.0090.00915.31
7.0.90.0150.00015.14
7.0.80.0140.00315.44
7.0.70.0170.00315.53
7.0.60.0090.02617.64
7.0.50.0080.03016.37
7.0.40.0060.02716.73
7.0.30.0180.03316.84
7.0.20.0170.03916.85
7.0.10.0060.02416.75
7.0.00.0130.01816.63
5.6.380.0130.00614.72
5.6.370.0150.00014.36
5.6.360.0080.00814.25
5.6.350.0160.00014.35
5.6.340.0090.00914.56
5.6.330.0140.00014.64
5.6.320.0040.01314.50
5.6.310.0110.00414.46
5.6.300.0150.00014.54
5.6.290.0080.00814.23
5.6.280.0060.03817.54
5.6.270.0060.00914.21
5.6.260.0120.00414.16
5.6.250.0130.00314.22
5.6.240.0110.00714.40
5.6.230.0150.00314.27
5.6.220.0120.00214.20
5.6.210.0090.03917.47
5.6.200.0070.03916.26
5.6.190.0070.02917.20
5.6.180.0240.04317.51
5.6.170.0200.02317.46
5.6.160.0050.02517.48
5.6.150.0060.02916.22
5.6.140.0120.03016.30
5.6.130.0090.04516.20
5.6.120.0130.03417.53
5.6.110.0070.02317.63
5.6.100.0090.04317.54
5.6.90.0100.02317.67
5.6.80.0090.03917.12
5.6.70.2320.02017.24
5.6.60.0000.01314.28
5.6.50.0000.01314.24
5.6.40.0080.00513.99
5.6.30.0100.00314.21
5.6.20.0060.01114.28
5.6.10.0080.00814.18
5.6.00.0090.00614.32
5.5.380.0070.00712.79
5.5.370.0100.00312.79
5.5.360.0070.00712.79
5.5.350.0080.03216.56
5.5.340.0040.02515.41
5.5.330.0050.03516.54
5.5.320.0040.03216.54
5.5.310.0210.02316.56
5.5.300.0050.04415.39
5.5.290.0110.03815.40
5.5.280.0150.03816.83
5.5.270.0160.04016.77
5.5.260.0080.04416.71
5.5.250.0100.04216.78
5.5.240.0160.04216.51
5.5.230.0130.00012.79
5.5.220.0000.01212.79
5.5.210.0130.00312.79
5.5.200.0070.00712.79
5.5.190.0110.00312.79
5.5.180.0070.00712.79
5.5.170.0090.00914.25
5.5.160.0130.00012.79
5.5.150.0090.00412.79
5.5.140.0110.00312.79
5.5.130.0070.00412.79
5.5.120.0040.00912.79
5.5.110.0070.00612.79
5.5.100.0100.00212.79
5.5.90.0070.00712.79
5.5.80.0140.00012.79
5.5.70.0050.00512.79
5.5.60.0140.00312.79
5.5.50.0100.00512.79
5.5.40.0070.00412.79
5.5.30.0090.00312.79
5.5.20.0040.00812.79
5.5.10.0110.00012.79
5.5.00.0100.00312.79
5.4.450.0420.03715.97
5.4.440.0140.02716.01
5.4.430.0080.03216.03
5.4.420.0350.00416.14
5.4.410.0360.00116.03
5.4.400.0320.00415.99
5.4.390.0360.00116.02
5.4.380.0350.00415.88
5.4.370.0360.00215.93
5.4.360.0340.00115.93
5.4.350.0370.00315.90
5.4.340.0080.01812.38
5.4.330.0110.00312.79
5.4.320.0070.02012.62
5.4.310.0080.02012.62
5.4.300.0080.02012.62
5.4.290.0080.02212.62
5.4.280.0130.01512.57
5.4.270.0040.02212.57
5.4.260.0060.02212.57
5.4.250.0050.02112.57
5.4.240.0050.02112.57
5.4.230.0020.02612.56
5.4.220.0090.01812.56
5.4.210.0070.01912.56
5.4.200.0090.02112.56
5.4.190.0070.01812.56
5.4.180.0070.02012.56
5.4.170.0090.01912.57
5.4.160.0050.02212.57
5.4.150.0090.01812.56
5.4.140.0060.02212.40
5.4.130.0070.02112.40
5.4.120.0040.02412.38
5.4.110.0050.02112.38
5.4.100.0040.02112.38
5.4.90.0070.02112.38
5.4.80.0070.02112.38
5.4.70.0080.02312.37
5.4.60.0050.02012.38
5.4.50.0070.02012.37
5.4.40.0040.02312.37
5.4.30.0060.01812.37
5.4.20.0070.02012.37
5.4.10.0040.02212.37
5.4.00.0100.01812.11
5.3.290.0080.02012.79
5.3.280.0080.02012.75
5.3.270.0060.02212.76
5.3.260.0080.02112.75
5.3.250.0050.02212.76
5.3.240.0070.02012.76
5.3.230.0060.02312.75
5.3.220.0070.02012.73
5.3.210.0060.02012.74
5.3.200.0070.02212.73
5.3.190.0100.01912.73
5.3.180.0100.01812.73
5.3.170.0060.02112.73
5.3.160.0040.02212.73
5.3.150.0050.02212.73
5.3.140.0090.01912.72
5.3.130.0060.02212.72
5.3.120.0120.02512.72
5.3.110.0070.02012.72
5.3.100.0070.02112.46
5.3.90.0060.01912.44
5.3.80.0090.01912.43
5.3.70.0060.02112.43
5.3.60.0050.02112.43
5.3.50.0060.02112.39
5.3.40.0060.02012.39
5.3.30.0050.02112.37
5.3.20.0070.02012.25
5.3.10.0080.01712.24
5.3.00.0060.02112.23
5.2.170.0040.01710.98
5.2.160.0040.01810.98
5.2.150.0050.01910.98
5.2.140.0070.01610.98
5.2.130.0040.01710.96
5.2.120.0030.01910.96
5.2.110.0060.01610.96
5.2.100.0070.01610.96
5.2.90.0050.01910.96
5.2.80.0070.02010.96
5.2.70.0030.01910.96
5.2.60.0040.01810.94
5.2.50.0030.01810.92
5.2.40.0040.01810.91
5.2.30.0060.02110.90
5.2.20.0030.01910.89
5.2.10.0040.01710.85
5.2.00.0070.01510.78
5.1.60.0040.01410.42
5.1.50.0040.01510.42
5.1.40.0060.01410.41
5.1.30.0070.01510.59
5.1.20.0020.01810.60
5.1.10.0040.01410.46
5.1.00.0060.01410.46
5.0.50.0040.0139.70
5.0.40.0070.0149.63
5.0.30.0040.0179.54
5.0.20.0050.0119.54
5.0.10.0010.0159.52
5.0.00.0030.0179.52
4.4.90.0020.0108.79
4.4.80.0010.0118.77
4.4.70.0030.0098.77
4.4.60.0030.0098.77
4.4.50.0020.0108.78
4.4.40.0010.0158.75
4.4.30.0050.0098.77
4.4.20.0040.0108.82
4.4.10.0030.0098.82
4.4.00.0010.0178.77
4.3.110.0020.0108.73
4.3.100.0060.0068.73
4.3.90.0010.0108.71
4.3.80.0050.0148.69
4.3.70.0050.0078.71
4.3.60.0020.0108.71
4.3.50.0020.0118.71
4.3.40.0040.0138.66
4.3.30.0020.0108.04
4.3.20.0040.0128.04
4.3.10.0020.0108.02
4.3.00.0100.01310.03

preferences:
47.86 ms | 401 KiB | 5 Q