3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(-1); ini_set('display_errors', 1); class JDate extends DateTime { public function setTimezone(DateTimeZone $tz) { return parent::setTimezone($tz); } } new JDate;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0WOoE
function name:  (null)
number of ops:  11
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'error_reporting'
          1        SEND_VAL                                                 -1
          2        DO_ICALL                                                 
    3     3        INIT_FCALL                                               'ini_set'
          4        SEND_VAL                                                 'display_errors'
          5        SEND_VAL                                                 1
          6        DO_ICALL                                                 
   12     7        NEW                                              $2      'JDate'
          8        DO_FCALL                                      0          
          9        FREE                                                     $2
         10      > RETURN                                                   1

Class JDate:
Function settimezone:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0WOoE
function name:  setTimezone
number of ops:  6
compiled vars:  !0 = $tz
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   RECV                                             !0      
    8     1        INIT_STATIC_METHOD_CALL                                  'setTimezone'
          2        SEND_VAR_EX                                              !0
          3        DO_FCALL                                      0  $1      
          4      > RETURN                                                   $1
    9     5*     > RETURN                                                   null

End of function settimezone

End of class JDate.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.45 ms | 1395 KiB | 17 Q