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.0330.07020.34
7.0.10.0130.08320.30
7.0.00.0000.05320.24
5.6.170.0230.06720.55
5.6.160.0030.04720.55
5.6.150.0030.06018.18
5.6.140.0100.07718.18
5.6.130.0070.08018.29
5.6.120.0070.06321.05
5.6.110.0070.04721.01
5.6.100.0070.04021.08
5.6.90.0070.08720.87
5.6.80.0030.04020.41
5.5.310.0370.07020.27
5.5.300.0070.07317.94
5.5.290.0030.06018.03
5.5.280.0170.07720.87
5.5.270.0200.07020.86
5.5.260.0130.07320.67
5.5.250.0100.05720.66
5.5.240.0170.04020.25

preferences:
140.01 ms | 1394 KiB | 7 Q