3v4l.org

run code in 300+ PHP versions simultaneously
<?php $yearz[] = array("2014","2015","2016","2017","2018","2019","2020"); foreach(yearz as year) $year['1']; endforeach; ?>

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.0100.09020.07
5.6.160.0100.08020.54
5.6.150.0030.08318.13
5.6.140.0130.08018.18
5.6.130.0030.06018.19
5.6.120.0070.03721.01
5.6.110.0130.07321.01
5.6.100.0070.08321.13
5.6.90.0100.06021.07
5.6.80.0070.06020.37
5.5.300.0000.06318.05
5.5.290.0170.07317.96
5.5.280.0030.04320.68
5.5.270.0070.08320.73
5.5.260.0130.07720.86
5.5.250.0030.06020.69
5.5.240.0130.04020.34

preferences:
132.41 ms | 1394 KiB | 7 Q