3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(strtotime('first day')); var_dump(date('Y-m-d H:i:s', strtotime('first day')));
Output for 4.3.0 - 4.3.8, 4.3.10 - 4.4.9, 5.0.3 - 5.2.17, 5.3.3 - 5.6.23, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
int(1373518620) string(19) "2013-07-11 06:57:00"
Output for 5.3.0 - 5.3.2
int(1372654620) string(19) "2013-07-01 06:57:00"
Output for 5.0.0 - 5.0.2
int(1373493600) string(19) "2013-07-11 00:00:00"
Output for 4.3.9
int(1373518619) string(19) "2013-07-11 06:56:59"