3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $date = date('Y-m-d'); echo $date . '\n'; echo date('Y-m-d', strtotime($date . ' + 90 days')); ?>
Output for 4.3.0 - 5.0.5, 5.1.2 - 7.1.0
2013-01-09\n2013-04-09
Output for 5.1.0 - 5.1.1
2013-01-09\n1970-01-01