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.06020.22
5.6.160.0030.05020.50
5.6.150.0030.08318.27
5.6.140.0070.08018.17
5.6.130.0130.04018.29
5.6.120.0030.04321.12
5.6.110.0070.07720.88
5.6.100.0070.08321.14
5.6.90.0100.04720.88
5.6.80.0100.07320.53
5.5.300.0100.07017.97
5.5.290.0100.05317.97
5.5.280.0030.04320.77
5.5.270.0070.08720.96
5.5.260.0130.07320.68
5.5.250.0030.08720.70
5.5.240.0270.04320.33

preferences:
134.07 ms | 1394 KiB | 7 Q