3v4l.org

run code in 300+ PHP versions simultaneously
<?php $oDateTimeZone = new DateTimeZone('europe/berlin'); $transitions = $oDateTimeZone->getTransitions(1364688000, 1364695200); print_r(count($transitions)); $oDateTimeZone = new DateTimeZone('europe/berlin');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/8RZkn
function name:  (null)
number of ops:  18
compiled vars:  !0 = $oDateTimeZone, !1 = $transitions
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   NEW                                              $2      'DateTimeZone'
          1        SEND_VAL_EX                                              'europe%2Fberlin'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $2
    3     4        INIT_METHOD_CALL                                         !0, 'getTransitions'
          5        SEND_VAL_EX                                              1364688000
          6        SEND_VAL_EX                                              1364695200
          7        DO_FCALL                                      0  $5      
          8        ASSIGN                                                   !1, $5
    4     9        INIT_FCALL                                               'print_r'
         10        COUNT                                            ~7      !1
         11        SEND_VAL                                                 ~7
         12        DO_ICALL                                                 
    5    13        NEW                                              $9      'DateTimeZone'
         14        SEND_VAL_EX                                              'europe%2Fberlin'
         15        DO_FCALL                                      0          
         16        ASSIGN                                                   !0, $9
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.89 ms | 1386 KiB | 15 Q