3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo $x = strtotime ("First of last month"); echo "\n".date('c', $x); echo "\n"; echo mktime (0,0,0,4,1,2015);
based on FQtJ0
Output for 5.1.0 - 7.2.0
1970-01-01T01:00:00+01:00 1427839200
Output for 5.0.0 - 5.0.5
-1 1970-01-01T00:59:59+01:00 1427839200
Output for 4.3.0 - 4.4.9
-1 c 1427839200