3v4l.org

run code in 300+ PHP versions simultaneously
<?php $w1 = $w2 = 64; $w1 = $w1 - 1.000125 - 1.000125; $w2 -= (1.000125 + 1.000125); echo $w1 . ":" .sprintf("%.20f", $w1) . PHP_EOL; echo $w2 . ":" .sprintf("%.20f", $w2) . PHP_EOL; echo ($w1 > $w2) . PHP_EOL;

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.4.20.0100.01021.27
8.4.10.0030.00519.56
8.3.150.0070.01117.35
8.3.140.0120.00616.64
8.3.130.0310.00916.71
8.3.120.0330.01216.30
8.3.110.0360.00816.28
8.3.100.0390.00716.29
8.3.90.0400.00916.51
8.3.80.0350.01316.39
8.3.70.0450.01016.35
8.3.60.0390.00716.35
8.3.50.0370.01016.60
8.3.40.0330.00717.32
8.3.30.0280.00917.36
8.3.20.0390.00017.30
8.3.10.0340.00317.47
8.3.00.0140.00717.47
8.2.270.0060.00916.40
8.2.260.0120.00616.95
8.2.250.0370.00616.40
8.2.240.0240.00816.18
8.2.230.0280.00816.45
8.2.220.0270.01016.38
8.2.210.0350.00516.18
8.2.200.0330.00716.65
8.2.190.0230.01216.28
8.2.180.0270.01116.23
8.2.170.0430.00317.61
8.2.160.0380.00017.56
8.2.150.0350.00617.52
8.2.140.0320.00717.26
8.2.130.0370.00417.43
8.2.120.0340.00917.59
8.2.110.0420.00317.53
8.2.100.0340.01017.50
8.2.90.0360.00417.55
8.2.80.0340.00617.71
8.2.70.0350.00717.39
8.2.60.0280.00917.66
8.2.50.0350.00417.41
8.2.40.0350.00017.52
8.2.30.0200.01017.34
8.2.20.0270.01017.49
8.2.10.0310.01017.38
8.2.00.0230.00817.40
8.1.310.0080.00016.80
8.1.300.0370.00716.18
8.1.290.0360.00416.18
8.1.280.0270.01216.18
8.1.270.0350.00617.16
8.1.260.0280.01317.23
8.1.250.0340.00817.40
8.1.240.0290.00817.39
8.1.230.0270.01117.47
8.1.220.0250.01117.23
8.1.210.0270.00317.14
8.1.200.0290.00717.00
8.1.190.0290.00716.74
8.1.180.0260.01016.96
8.1.170.0250.01117.37
8.1.160.0270.00917.02
8.1.150.0280.00817.14
8.1.140.0290.00717.21
8.1.130.0250.01117.37
8.1.120.0360.00017.30
8.1.110.0230.01316.97
8.1.100.0330.00417.16
8.1.90.0220.01417.05
8.1.80.0270.01117.15
8.1.70.0340.00817.22
8.1.60.0310.00317.16
8.1.50.0400.00017.12
8.1.40.0270.01517.41
8.1.30.0330.00817.19
8.1.20.0290.01117.34
8.1.10.0370.00317.28
8.1.00.0340.00717.31

preferences:
34.54 ms | 403 KiB | 5 Q