3v4l.org

run code in 300+ PHP versions simultaneously
<?php function yourMom(){ echo "Your mom "; } function isSoFat(){ ehco "is so fat..."; } $array = array("yourMom", "isSoFat"); foreach($array as $funt) $funct();

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.10.0170.08320.30
7.0.00.0100.07320.18
5.6.160.0070.08020.63
5.6.150.0070.07718.29
5.6.140.0100.07018.29
5.6.130.0070.07018.12
5.6.120.0100.06720.99
5.6.110.0130.07021.08
5.6.100.0030.08720.98
5.6.90.0030.09021.13
5.6.80.0070.07720.39
5.5.300.0070.04317.98
5.5.290.0100.05318.14
5.5.280.0030.04720.65
5.5.270.0100.08320.76
5.5.260.0030.04320.87
5.5.250.0100.08020.58
5.5.240.0270.06720.28

preferences:
146.66 ms | 1394 KiB | 7 Q