3v4l.org

run code in 300+ PHP versions simultaneously
<?php $time = 1659458933; $tz = new DateTimeZone( 'America/Indiana/Indianapolis' ); $transitions = $tz->getTransitions( $time ); var_dump( $transitions );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/dT94b
function name:  (null)
number of ops:  13
compiled vars:  !0 = $time, !1 = $tz, !2 = $transitions
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 1659458933
    4     1        NEW                                              $4      'DateTimeZone'
          2        SEND_VAL_EX                                              'America%2FIndiana%2FIndianapolis'
          3        DO_FCALL                                      0          
          4        ASSIGN                                                   !1, $4
    5     5        INIT_METHOD_CALL                                         !1, 'getTransitions'
          6        SEND_VAR_EX                                              !0
          7        DO_FCALL                                      0  $7      
          8        ASSIGN                                                   !2, $7
    6     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !2
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.27 ms | 1435 KiB | 14 Q