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"; }else{ echo "iserniet"; } ?>

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.0070.04311.97
5.4.00.0110.03911.47
5.3.110.0120.04912.66
5.3.100.0140.04412.12
5.3.90.0120.04812.08
5.3.80.0090.04912.07
5.3.70.0110.06312.08
5.3.60.0130.04512.06
5.3.50.0130.04012.00
5.3.40.0130.04112.00
5.3.30.0110.03911.95
5.3.20.0110.04311.72
5.3.10.0140.05811.68
5.3.00.0120.03811.67

preferences:
140.32 ms | 1394 KiB | 7 Q