3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo (date('Y-m-d', strtotime((new \DateTime())->format('Y-m-d H:i:s'). ' + 14 days'));

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.05320.12
5.6.160.0100.08320.43
5.6.150.0100.04318.23
5.6.140.0070.08318.28
5.6.130.0170.05718.28
5.6.120.0070.08720.99
5.6.110.0100.06720.98
5.6.100.0030.06021.13
5.6.90.0130.07721.09
5.6.80.0130.07320.37
5.5.300.0070.06317.91
5.5.290.0070.07718.01
5.5.280.0070.08720.89
5.5.270.0030.08720.64
5.5.260.0130.03720.75
5.5.250.0030.08320.63
5.5.240.0300.07320.15

preferences:
139.54 ms | 1394 KiB | 7 Q