3v4l.org

run code in 300+ PHP versions simultaneously
<?php function floor(string $input): int { } assert(floor ('(') === 1);

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.0070.08720.16
5.6.160.0100.08320.43
5.6.150.0070.07718.22
5.6.140.0030.05318.19
5.6.130.0000.04318.24
5.6.120.0070.03721.00
5.6.110.0070.08320.99
5.6.100.0130.07020.98
5.6.90.0100.07320.93
5.6.80.0070.07720.51
5.5.300.0130.07317.93
5.5.290.0000.06718.09
5.5.280.0170.06720.77
5.5.270.0100.07720.76
5.5.260.0000.04320.86
5.5.250.0100.04320.46
5.5.240.0170.07720.28

preferences:
151.07 ms | 1386 KiB | 7 Q