3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $date = strtotime('next month 00:15'); echo date('Y-m-d H:i:s', $date), PHP_EOL;
based on tJ8V9
Output for 4.4.0 - 4.4.9, 5.0.5 - 7.1.0
2014-12-02 00:15:00
Output for 4.3.10 - 4.3.11, 5.0.2 - 5.0.4
2015-01-02 00:15:00
Output for 4.3.0 - 4.3.9, 5.0.0 - 5.0.1
2015-01-02 00:15:00 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Qj5Gk on line 5 PHP_EOL