3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( array_slice( (new \DateTimeZone('Europe/Berlin'))->getTransitions(), 0, 3 ), timezone_version_get() );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/kvR5f
function name:  (null)
number of ops:  17
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
    4     1        INIT_FCALL                                               'array_slice'
    5     2        NEW                                              $0      'DateTimeZone'
          3        SEND_VAL_EX                                              'Europe%2FBerlin'
          4        DO_FCALL                                      0          
          5        INIT_METHOD_CALL                                         $0, 'getTransitions'
          6        DO_FCALL                                      0  $2      
          7        SEND_VAR                                                 $2
    6     8        SEND_VAL                                                 0
    7     9        SEND_VAL                                                 3
         10        DO_ICALL                                         $3      
         11        SEND_VAR                                                 $3
    9    12        INIT_FCALL                                               'timezone_version_get'
         13        DO_ICALL                                         $4      
         14        SEND_VAR                                                 $4
         15        DO_ICALL                                                 
   10    16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.25 ms | 939 KiB | 20 Q