3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php date_default_timezone_set('Europe/Berlin'); echo strtotime('+45 days'); ?>
Output for 5.6.28, 7.0.12 - 7.1.0
1403510801
Output for 7.0.6
1466118462
Output for 5.5.33 - 5.5.34, 5.6.19 - 5.6.20, 7.0.5
1464493345
Output for 5.5.32, 5.6.17 - 5.6.18, hhvm-3.12.0, 7.0.3 - 7.0.4
1464493346
Output for 5.5.31, 7.0.0 - 7.0.2
1464493347
Output for 5.5.30, 5.6.13 - 5.6.16, hhvm-3.10.0
1464493348
Output for 5.6.21
1466014347
Output for 5.4.44 - 5.4.45, 5.5.28 - 5.5.29, 5.6.11 - 5.6.12
1464493349
Output for 5.4.41 - 5.4.43, 5.5.26 - 5.5.27, 5.6.9 - 5.6.10
1464493350
Output for 5.4.40, 5.5.24 - 5.5.25, 5.6.7 - 5.6.8
1464493351
Output for 5.4.37 - 5.4.39, 5.5.21 - 5.5.23, 5.6.6
1464493352
Output for 5.4.35 - 5.4.36, 5.5.18 - 5.5.20, 5.6.3 - 5.6.5
1464493353
Output for 5.3.29, 5.4.32 - 5.4.34, 5.5.16, 5.6.0 - 5.6.2
1464493354
Output for 5.5.35
1467753449
Output for 5.4.28 - 5.4.31, 5.5.13 - 5.5.15
1464493355
Output for 5.4.25 - 5.4.27, 5.5.9 - 5.5.12
1464493356
Output for 5.3.28, 5.4.21 - 5.4.24, 5.5.6 - 5.5.8
1464493357
Output for 5.4.18 - 5.4.20, 5.5.2 - 5.5.5
1464493358
Output for 5.3.26 - 5.3.27, 5.4.16 - 5.4.17, 5.5.0 - 5.5.1
1464493359
Output for 5.3.23 - 5.3.25, 5.4.13 - 5.4.15
1464493360
Output for 5.3.19 - 5.3.22, 5.4.9 - 5.4.12
1464493361
Output for 5.3.15 - 5.3.18, 5.4.6 - 5.4.8
1464493362
Output for 5.3.12 - 5.3.14, 5.4.2 - 5.4.5
1464493363
Output for 5.3.7 - 5.3.11, 5.4.0 - 5.4.1
1464493364
Output for 5.2.14 - 5.2.17, 5.3.3 - 5.3.6
1464493365
Output for 5.2.9 - 5.2.13, 5.3.0 - 5.3.2
1464493366
Output for 5.2.3 - 5.2.8
1464493367
Output for 5.1.5 - 5.2.2
1464493368
Output for 5.1.0 - 5.1.4
1464493369
Output for 5.0.0 - 5.0.5
<br /> <b>Fatal error</b>: Call to undefined function date_default_timezone_set() in <b>/in/oOvDJ</b> on line <b>2</b><br />
Process exited with code 255.
Output for 4.4.5 - 4.4.9
<br /> <b>Fatal error</b>: Call to undefined function: date_default_timezone_set() in <b>/in/oOvDJ</b> on line <b>2</b><br />
Process exited with code 255.
Output for 4.3.2 - 4.4.4
<br /> <b>Fatal error</b>: Call to undefined function: date_default_timezone_set() in <b>/in/oOvDJ</b> on line <b>2</b><br />
Process exited with code 255.
Output for 4.3.0 - 4.3.1
<br /> <b>Fatal error</b>: Call to undefined function: date_default_timezone_set() in <b>/in/oOvDJ</b> on line <b>2</b><br />