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); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fTsIT
function name:  (null)
number of ops:  16
compiled vars:  !0 = $theTime, !1 = $tz, !2 = $transition
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'time'
          1        DO_ICALL                                         $3      
          2        ASSIGN                                                   !0, $3
    4     3        NEW                                              $5      'DateTimeZone'
          4        SEND_VAL_EX                                              'Europe%2FLondon'
          5        DO_FCALL                                      0          
          6        ASSIGN                                                   !1, $5
    5     7        INIT_METHOD_CALL                                         !1, 'getTransitions'
          8        SEND_VAR_EX                                              !0
          9        SEND_VAR_EX                                              !0
         10        DO_FCALL                                      0  $8      
         11        ASSIGN                                                   !2, $8
    7    12        INIT_FCALL                                               'var_dump'
         13        SEND_VAR                                                 !2
         14        DO_ICALL                                                 
    9    15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.11 ms | 1394 KiB | 17 Q