3v4l.org

run code in 300+ PHP versions simultaneously
<?php $midnight = (new \DateTime())->setTimestamp(1374246685)->modify('tomorrow'); var_dump($midnight);

preferences:
25.32 ms | 404 KiB | 5 Q