3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $x = (new DateTimeImmutable('today'))->setTimeZone(new DateTimeZone('UTC')); $y = (new DateTimeImmutable('today'))->setTimeZone(new DateTimeZone('Europe/Rome')); var_dump($x->setTime(10, 10, 10) == $y->setTime(12, 10, 10));
based on 5rrCp