3v4l.org

run code in 300+ PHP versions simultaneously
<?php function ole(int $a, float $b): float { return $a + $b; } echo ole(5, 4.3f);

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.19
5.6.160.0000.05320.44
5.6.150.0130.07318.18
5.6.140.0070.03718.14
5.6.130.0100.08318.12
5.6.120.0130.07320.96
5.6.110.0130.07020.95
5.6.100.0100.08021.00
5.6.90.0100.06321.01
5.6.80.0130.07320.37
5.5.300.0070.06317.99
5.5.290.0000.05718.09
5.5.280.0070.07320.80
5.5.270.0000.04320.95
5.5.260.0070.05320.76
5.5.250.0100.07720.71
5.5.240.0270.07020.17

preferences:
132.23 ms | 1394 KiB | 7 Q