3v4l.org

run code in 300+ PHP versions simultaneously
<?php public static $res_analyst; $this->func(); function func () { var_dump(self::hoge); }

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.20.0270.04720.07
7.0.10.0100.08720.22
7.0.00.0070.07720.06
5.6.170.0270.04320.50
5.6.160.0070.04020.54
5.6.150.0070.04318.19
5.6.140.0030.08318.14
5.6.130.0070.05018.12
5.6.120.0070.08721.01
5.6.110.0100.08321.13
5.6.100.0070.08021.10
5.6.90.0030.08720.97
5.6.80.0100.04320.52
5.5.310.0200.08320.17
5.5.300.0000.06017.97
5.5.290.0100.07717.98
5.5.280.0070.08320.89
5.5.270.0070.06020.73
5.5.260.0100.08320.79
5.5.250.0030.06020.46
5.5.240.0130.04720.03

preferences:
136.07 ms | 1398 KiB | 7 Q