3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(new DateTime(date('Y-m-d 23:59:59', mktime(0, 0, 0, 0, 0, 0)));

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.0400.06720.22
7.0.10.0030.04720.32
7.0.00.0070.07720.24
5.6.170.0270.07020.41
5.6.160.0070.08020.50
5.6.150.0070.06018.23
5.6.140.0000.09018.15
5.6.130.0030.08018.18
5.6.120.0130.07320.96
5.6.110.0070.06721.00
5.6.100.0100.08321.13
5.6.90.0070.09020.92
5.6.80.0030.04020.38
5.5.310.0300.06320.37
5.5.300.0030.04017.94
5.5.290.0130.07317.97
5.5.280.0070.05320.65
5.5.270.0070.08020.84
5.5.260.0100.08320.75
5.5.250.0100.07720.65
5.5.240.0100.08720.01

preferences:
139.44 ms | 1394 KiB | 7 Q