3v4l.org

run code in 300+ PHP versions simultaneously
<?php $theTime = time(); // specific date/time we're checking, in epoch seconds. $tz = new DateTimeZone('Europe/London'); $transition = $tz->getTransitions($theTime, $theTime); var_dump($transition); ?>

preferences:
28.34 ms | 402 KiB | 5 Q