3v4l.org

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