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.0070.07720.23
5.6.160.0170.07320.52
5.6.150.0030.08718.23
5.6.140.0070.04318.23
5.6.130.0070.08018.14
5.6.120.0000.04321.15
5.6.110.0000.05321.13
5.6.100.0130.06721.03
5.6.90.0030.08721.10
5.6.80.0230.06020.45
5.5.300.0100.08017.94
5.5.290.0170.06318.01
5.5.280.0100.03720.68
5.5.270.0100.08020.74
5.5.260.0100.07020.96
5.5.250.0200.07020.58
5.5.240.0170.06320.07

preferences:
138.46 ms | 1394 KiB | 7 Q