3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = date(Y-m-d); $date1 = str_replace('-', '/', $date); $tomorrow = date(Y-m-d',strtotime($date1 . "+1 days")); echo $tomorrow;;

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.0070.08020.22
7.0.00.0100.04020.08
5.6.160.0100.03720.71
5.6.150.0070.06318.19
5.6.140.0030.04718.18
5.6.130.0070.08318.18
5.6.120.0070.08321.12
5.6.110.0070.05321.01
5.6.100.0100.04321.13
5.6.90.0000.05021.00
5.6.80.0030.04020.40
5.5.300.0130.04718.09
5.5.290.0130.06318.04
5.5.280.0100.08320.89
5.5.270.0130.07720.64
5.5.260.0100.04020.67
5.5.250.0130.07320.78
5.5.240.0170.03720.15

preferences:
142.83 ms | 1394 KiB | 7 Q