3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL | E_STRICT); date_default_timezone_set('Europe/Amsterdam'); 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/YgkmQ
function name:  (null)
number of ops:  10
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'error_reporting'
          1        SEND_VAL                                                 32767
          2        DO_ICALL                                                 
    3     3        INIT_FCALL                                               'date_default_timezone_set'
          4        SEND_VAL                                                 'Europe%2FAmsterdam'
          5        DO_ICALL                                                 
   13     6        NEW                                              $2      'JDate'
          7        DO_FCALL                                      0          
          8        FREE                                                     $2
          9      > RETURN                                                   1

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

End of function settimezone

End of class JDate.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
183.69 ms | 1395 KiB | 17 Q