3v4l.org

run code in 300+ PHP versions simultaneously
<?php $end_date = new DateTime() $end_timestamp = $end_date->getTimestamp() + 24 * 60 * 60; echo $end_timestamp;

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.10.0130.08020.25
7.0.00.0070.07020.18
5.6.160.0100.08320.47
5.6.150.0030.06018.14
5.6.140.0200.06718.14
5.6.130.0070.08318.13
5.6.120.0030.05321.02
5.6.110.0100.03721.00
5.6.100.0100.07021.06
5.6.90.0000.04321.13
5.6.80.0130.06720.43
5.5.300.0100.07017.98
5.5.290.0000.05017.91
5.5.280.0070.08020.88
5.5.270.0100.08720.80
5.5.260.0100.06020.95
5.5.250.0000.05320.57
5.5.240.0170.07320.15

preferences:
125.3 ms | 1398 KiB | 7 Q