3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(date('c',mktime(0,0,0,date('m')-1,date('d'),date('Y'))));
Output for 5.0.0 - 7.1.0
string(25) "2014-07-01T00:00:00+02:00"
Output for 4.3.0 - 4.4.9
string(1) "c"