3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(round(152.77499999999998,2)); $newPrice = [ 'bagr' => 500, 'chleba' => 500, 'rizek' => 400 ]; $origPrice = [ 'bagr' => 500, 'chleba' => 400, 'rizek' => 500 ]; var_dump($newPrice < $origPrice);

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.0110.00718.15
8.3.50.0060.01222.05
8.3.40.0070.01418.81
8.3.30.0120.00318.60
8.3.20.0030.00520.30
8.3.10.0000.00823.69
8.3.00.0050.00519.00
8.2.180.0000.02018.16
8.2.170.0110.00422.96
8.2.160.0100.00319.29
8.2.150.0040.00425.66
8.2.140.0050.00324.66
8.2.130.0070.01020.51
8.2.120.0060.00326.35
8.2.110.0070.00321.17
8.2.100.0060.00617.97
8.2.90.0030.00718.95
8.2.80.0030.00617.97
8.2.70.0080.00017.63
8.2.60.0000.00818.04
8.2.50.0050.00218.10
8.2.40.0070.00020.60
8.2.30.0000.00719.27
8.2.20.0050.00318.16
8.2.10.0070.00018.30
8.2.00.0050.00218.28
8.1.280.0000.01725.92
8.1.270.0000.00823.96
8.1.260.0000.00826.35
8.1.250.0070.00028.09
8.1.240.0040.00424.05
8.1.230.0000.01418.90
8.1.220.0040.00417.79
8.1.210.0000.00918.77
8.1.200.0100.00017.35
8.1.190.0050.00317.35
8.1.180.0040.00418.10
8.1.170.0040.00418.73
8.1.160.0050.00218.80
8.1.150.0040.00420.13
8.1.140.0040.00419.59
8.1.130.0030.00319.05
8.1.120.0040.00417.41
8.1.110.0030.00517.38
8.1.100.0000.00717.50
8.1.90.0070.00017.41
8.1.80.0040.00417.48
8.1.70.0030.00517.41
8.1.60.0000.00817.53
8.1.50.0000.00817.58
8.1.40.0000.00817.63
8.1.30.0000.00817.68
8.1.20.0040.00417.57
8.1.10.0000.00817.37
8.1.00.0040.00417.39
8.0.300.0040.00418.78
8.0.290.0070.00016.75
8.0.280.0040.00418.41
8.0.270.0000.00817.40
8.0.260.0100.00019.06
8.0.250.0000.00716.93
8.0.240.0000.00817.03
8.0.230.0070.00016.99
8.0.220.0030.00316.96
8.0.210.0070.00016.89
8.0.200.0000.00616.85
8.0.190.0090.00017.02
8.0.180.0000.00717.00
8.0.170.0030.00517.00
8.0.160.0040.00416.91
8.0.150.0000.00716.84
8.0.140.0080.00016.82
8.0.130.0000.00613.41
8.0.120.0000.00916.84
8.0.110.0000.00716.78
8.0.100.0050.00216.80
8.0.90.0000.00717.05
8.0.80.0040.01116.99
8.0.70.0000.00816.82
8.0.60.0000.00816.85
8.0.50.0000.00717.03
8.0.30.0120.00717.09
8.0.20.0100.01017.40
8.0.10.0030.00317.01
8.0.00.0110.00716.58
7.4.330.0000.00515.55
7.4.320.0000.00616.44
7.4.300.0000.00616.61
7.4.290.0030.00316.45
7.4.280.0000.00716.39
7.4.270.0040.00416.61
7.4.260.0000.00716.60
7.4.250.0070.00016.61
7.4.240.0080.00016.66
7.4.230.0070.00016.76
7.4.220.0090.01216.55
7.4.210.0100.00716.65
7.4.200.0030.00316.30
7.4.160.0100.00716.46
7.4.150.0040.01417.40
7.4.140.0110.01017.86
7.4.130.0100.01016.64
7.4.120.0120.00916.53
7.4.110.0090.00816.52
7.4.100.0090.01516.57
7.4.90.0060.01016.59
7.4.80.0140.00319.39
7.4.70.0070.01016.49
7.4.60.0130.00316.50
7.4.50.0060.00916.56
7.4.40.0100.00716.63
7.4.30.0130.01016.57
7.4.00.0090.00615.07
7.3.330.0000.00513.00
7.3.320.0050.00013.00
7.3.310.0000.00716.25
7.3.300.0000.00616.23
7.3.290.0040.00416.26
7.3.280.0110.00716.31
7.3.270.0070.01017.40
7.3.260.0090.01216.40
7.3.240.0060.01016.31
7.3.230.0150.00616.23
7.3.210.0120.00316.34
7.3.200.0110.00816.24
7.3.190.0040.01216.41
7.3.180.0080.00816.35
7.3.170.0200.00516.34
7.3.160.0090.00616.20
7.3.10.0070.01016.27
7.3.00.0040.00816.54
7.2.330.0030.01416.73
7.2.320.0130.01016.47
7.2.310.0100.00716.54
7.2.300.0100.00716.64
7.2.290.0100.00716.66
7.2.130.0030.01016.61
7.2.120.0000.01216.89
7.2.110.0030.00716.70
7.2.100.0070.00416.91
7.2.90.0000.01116.55
7.2.80.0050.00516.71
7.2.70.0090.00316.93
7.2.60.0060.00716.87
7.2.50.0080.00016.88
7.2.40.0060.00316.97
7.2.30.0000.01016.67
7.2.20.0110.00016.93
7.2.10.0090.00316.77
7.2.00.0040.00716.58
7.1.250.0040.00715.74
7.1.200.0060.00615.57
7.1.70.0080.00816.81
7.1.60.0030.00917.06
7.1.40.0800.01332.28
7.1.30.0800.01732.42
7.1.20.1570.02332.55
7.1.10.0430.01014.53
7.1.00.0370.01314.65
7.0.200.0070.00716.68
7.0.180.0870.00714.22
7.0.170.1030.00714.24
7.0.160.0500.00714.20
7.0.150.0470.01014.42
7.0.140.0470.00314.26
7.0.130.0470.00714.63
7.0.120.0430.01014.60
7.0.110.0400.01014.31
7.0.100.0430.00714.30
7.0.90.0670.00714.19
7.0.80.0500.00314.12
7.0.70.0570.01314.22
7.0.60.0470.01014.01
7.0.50.0530.00314.48
7.0.40.0430.01014.48
7.0.30.0400.01314.46
7.0.20.0470.01314.45
7.0.10.0500.00714.37
7.0.00.0430.01014.44

preferences:
60.19 ms | 404 KiB | 6 Q