3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $date = strtotime("0000-00-00 00:00:00"); $newDate = gmdate("Y-m-d", (int) $date); echo strtotime($newDate);
based on 1jAp6
Output for 5.2.6 - 7.1.0
-62170071572
Output for 5.2.4 - 5.2.5
-3600
Output for 4.3.0 - 5.2.3
943830000