3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(-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/2pEdr
function name:  (null)
number of ops:  7
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                                                 
   11     3        NEW                                              $1      'JDate'
          4        DO_FCALL                                      0          
          5        FREE                                                     $1
          6      > RETURN                                                   1

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

End of function settimezone

End of class JDate.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.22 ms | 1394 KiB | 15 Q