3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $dateTime = new DateTime('0-01-01 00:00:00'); var_dump($dateTime->getTimestamp());
based on cQr6N
Output for 5.6.38 - 7.3.0rc3
int(946681200)