3v4l.org

run code in 300+ PHP versions simultaneously
<?php Coffee = "tasty"; if (Coffee == tasty) { echo "Code is good"; } elseif (Coffee == strong) { echo "Code is clean"; } elseif (Coffee == tasty and Coffee == strong) { echo "Code is AMAZING!"; } else { echo "Programmer.exe has stopped working"; } ?>

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.06720.08
5.6.160.0100.08320.56
5.6.150.0170.07018.18
5.6.140.0030.08318.17
5.6.130.0070.07318.19
5.6.120.0100.08320.98
5.6.110.0030.04320.99
5.6.100.0170.07720.96
5.6.90.0100.06320.98
5.6.80.0170.07320.38
5.5.300.0000.04317.97
5.5.290.0070.04717.98
5.5.280.0100.08020.65
5.5.270.0030.08020.64
5.5.260.0070.07720.86
5.5.250.0100.06320.43
5.5.240.0230.03320.11

preferences:
146.04 ms | 1394 KiB | 7 Q