3v4l.org

run code in 300+ PHP versions simultaneously
<?php try { new Animal()); } catch (\Exception $e) { echo $e->getMessage(); }

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.00.0030.08020.30
5.6.160.0030.05020.44
5.6.150.0230.03318.29
5.6.140.0130.07718.19
5.6.130.0100.03318.24
5.6.120.0170.04320.98
5.6.110.0200.07321.11
5.6.100.0070.03721.00
5.6.90.0070.09021.12
5.6.80.0070.07020.47
5.5.300.0100.07317.96
5.5.290.0100.06317.98
5.5.280.0100.08020.87
5.5.270.0030.08020.86
5.5.260.0030.09020.87
5.5.250.0100.06020.70
5.5.240.3830.02320.25

preferences:
142.08 ms | 1398 KiB | 7 Q