3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = new Datetime(); $a->add(new DateInterval('PT'.45.'H')); echo $a->format('Y-m-d');

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.0230.07720.10
7.0.10.0100.06020.29
7.0.00.0130.04720.22
5.6.170.0430.05320.44
5.6.160.0070.08020.52
5.6.150.0030.03718.19
5.6.140.0000.05318.19
5.6.130.0030.08318.28
5.6.120.0070.04321.11
5.6.110.0100.06721.06
5.6.100.0100.03320.94
5.6.90.0130.06020.97
5.6.80.0000.04020.43
5.5.310.0270.08020.19
5.5.300.0070.08017.96
5.5.290.0070.05317.99
5.5.280.0070.05320.88
5.5.270.0030.08020.77
5.5.260.0030.08020.86
5.5.250.0070.03720.79
5.5.240.0070.04020.28

preferences:
156.18 ms | 1394 KiB | 7 Q