3v4l.org

run code in 300+ PHP versions simultaneously
<?php function Mandatory() { throw new Exception("AGGR"); } function CallMe($param = Mandatory()) { echo $param . "YEAH"; } CallMe("LOL");

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.0030.04320.10
7.0.00.0100.08020.25
5.6.160.0130.08020.56
5.6.150.0070.08318.22
5.6.140.0070.05018.19
5.6.130.0130.03718.21
5.6.120.0030.05020.98
5.6.110.0070.06021.12
5.6.100.0070.07021.00
5.6.90.0200.06021.01
5.6.80.0070.08020.43
5.5.300.0000.04018.07
5.5.290.0230.05718.02
5.5.280.0170.07320.89
5.5.270.0030.04020.90
5.5.260.0100.08020.79
5.5.250.0130.07020.55
5.5.240.0070.07320.16

preferences:
138.04 ms | 1394 KiB | 7 Q