3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo (date('Y-m-d', strtotime((new \DateTime())->format('Y-m-d') ' + 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.0100.08020.16
5.6.160.0070.08320.57
5.6.150.0130.07318.18
5.6.140.0100.07018.24
5.6.130.0170.05718.21
5.6.120.0070.05320.98
5.6.110.0130.05720.99
5.6.100.0000.04320.99
5.6.90.0070.08321.00
5.6.80.0100.07320.30
5.5.300.0030.04018.05
5.5.290.0100.07717.95
5.5.280.0070.06320.80
5.5.270.0100.07320.63
5.5.260.0070.07720.67
5.5.250.0100.07320.46
5.5.240.0270.07320.25

preferences:
141.39 ms | 1394 KiB | 7 Q