3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump ( date(DATE_RFC3339, strtotime('last minute of today')), date('Y-m-d H:i:s', strtotime('last minute of tomorrow')) );
Output for 5.1.3 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
string(25) "1970-01-01T01:00:00+01:00" string(19) "1970-01-01 01:00:00"
Output for 5.1.0 - 5.1.2
Notice: Use of undefined constant DATE_RFC3339 - assumed 'DATE_RFC3339' in /in/SG2v1 on line 4 string(23) "ThuAMCETE_RJanuaryC3339" string(19) "1970-01-01 01:00:00"
Output for 4.3.0 - 5.0.5
Notice: Use of undefined constant DATE_RFC3339 - assumed 'DATE_RFC3339' in /in/SG2v1 on line 4 string(23) "ThuAMCETE_RJanuaryC3339" string(19) "1970-01-01 00:59:59"