3v4l.org

run code in 300+ PHP versions simultaneously
<?php class FloodableInterface { public function isFlooded(int $height) : bool; }

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)
7.0.00.0100.03720.25
5.6.160.0070.05320.61
5.6.150.0100.07318.19
5.6.140.0170.07018.25
5.6.130.0100.07718.21
5.6.120.0070.04321.14
5.6.110.0070.03721.01
5.6.100.0100.05020.98
5.6.90.0000.08721.00
5.6.80.0200.05320.39
5.5.300.0030.06017.98
5.5.290.0100.07017.99
5.5.280.0030.04020.80
5.5.270.0070.06720.66
5.5.260.0100.04320.79
5.5.250.0100.05320.50
5.5.240.0330.04720.12

preferences:
142.16 ms | 1394 KiB | 7 Q