3v4l.org

run code in 300+ PHP versions simultaneously
<?php $time = 1659458933; $tz = new DateTimeZone( 'America/Indiana/Indianapolis' ); $transitions = $tz->getTransitions( $time ); if(is_array($transitions) && count($transitions) > 1) { var_dump( $transitions ); } else { //Nothing }

Abusive script

This script was stopped while abusing our resources


preferences:
49.04 ms | 404 KiB | 5 Q