3v4l.org

run code in 300+ PHP versions simultaneously
<?php "$test1 = null; $test2 = 'ok'; $test3 = $test1 ?? $test2; echo $test3;"

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)
5.6.150.0100.07718.12
5.6.140.0070.07318.11
5.6.130.0070.05018.18
5.6.120.0130.03321.13
5.6.110.0030.08721.04
5.6.100.0200.06720.98
5.6.90.0000.09321.09
5.6.80.0170.07020.48
5.5.300.0070.06017.92
5.5.290.0100.04017.84
5.5.280.0100.07320.93
5.5.270.0030.07720.79
5.5.260.0030.08720.86
5.5.250.0070.08020.71
5.5.240.0230.07320.06

preferences:
132.72 ms | 1394 KiB | 7 Q