3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL); switch($_GET['a']) { case "lol" : echo "haha"; case "hihi": echo "lachen!"; default: echo "nja"; ?>

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.4.10.0100.03611.95
5.4.00.0120.04511.44
5.3.110.0090.04112.66
5.3.100.0090.04112.12
5.3.90.0120.05012.08
5.3.80.0110.03912.07
5.3.70.0110.03912.08
5.3.60.0080.04112.06
5.3.50.0170.05312.00
5.3.40.0100.03912.00
5.3.30.0070.03911.95
5.3.20.0100.04111.73
5.3.10.0100.04311.69
5.3.00.0090.04311.68

preferences:
138.98 ms | 1394 KiB | 7 Q