3v4l.org

run code in 300+ PHP versions simultaneously
<?php class otherClass { public static function f1 () { echo "\n".__CLASS__; echo "\n".__FUNCTION__; parentClass::f2(); } } class parentClass { public static function f2 () { echo "\n".__CLASS__; echo "\n".__FUNCTION__; } } class childClass extends parentClass { public static function f3 () { echo "\n".__CLASS__; echo "\n".__FUNCTION__; } } otherClass::f1();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hg6eo
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   32     0  E >   INIT_STATIC_METHOD_CALL                                  'otherClass', 'f1'
          1        DO_FCALL                                      0          
          2      > RETURN                                                   1

Class otherClass:
Function f1:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hg6eo
function name:  f1
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   ECHO                                                     '%0AotherClass'
    6     1        ECHO                                                     '%0Af1'
    8     2        INIT_STATIC_METHOD_CALL                                  'parentClass', 'f2'
          3        DO_FCALL                                      0          
    9     4      > RETURN                                                   null

End of function f1

End of class otherClass.

Class parentClass:
Function f2:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hg6eo
function name:  f2
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   16     0  E >   ECHO                                                     '%0AparentClass'
   17     1        ECHO                                                     '%0Af2'
   18     2      > RETURN                                                   null

End of function f2

End of class parentClass.

Class childClass:
Function f3:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hg6eo
function name:  f3
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   24     0  E >   ECHO                                                     '%0AchildClass'
   25     1        ECHO                                                     '%0Af3'
   26     2      > RETURN                                                   null

End of function f3

Function f2:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hg6eo
function name:  f2
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   16     0  E >   ECHO                                                     '%0AparentClass'
   17     1        ECHO                                                     '%0Af2'
   18     2      > RETURN                                                   null

End of function f2

End of class childClass.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.71 ms | 1386 KiB | 13 Q