3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ba = 1; $bc = 2; $foo = (($bc < $ba) ? 'Hi':'hello' ($bc < $ba) ? 'Hi' : 'hello')); echo $foo;

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.0030.07320.11
5.6.160.0070.08020.50
5.6.150.0070.03318.19
5.6.140.0000.04718.14
5.6.130.0070.04318.14
5.6.120.0030.04020.99
5.6.110.0170.07321.01
5.6.100.0130.07321.11
5.6.90.0070.07720.92
5.6.80.0100.08020.53
5.5.300.0070.07717.94
5.5.290.0100.07718.00
5.5.280.0130.06020.73
5.5.270.0070.04020.86
5.5.260.0170.08020.80
5.5.250.0030.04720.61
5.5.240.0100.04020.36

preferences:
132.76 ms | 1394 KiB | 7 Q