3v4l.org

run code in 300+ PHP versions simultaneously
<?php class otherClass { public static function f1 () { childCLass:f3(); } } class parentClass { public static function f2 () { echo "<br>".__CLASS__; echo "<br>".__FUNCTION__; } } class childClass extends parentClass { public static function f3 () { echo "<br>".__CLASS__; echo "<br>".__FUNCTION__; } } otherClass::f1();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7tp8M
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   30     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/7tp8M
function name:  f1
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   INIT_FCALL_BY_NAME                                       'f3'
          1        DO_FCALL                                      0          
    7     2      > 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/7tp8M
function name:  f2
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   14     0  E >   ECHO                                                     '%3Cbr%3EparentClass'
   15     1        ECHO                                                     '%3Cbr%3Ef2'
   16     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/7tp8M
function name:  f3
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   22     0  E >   ECHO                                                     '%3Cbr%3EchildClass'
   23     1        ECHO                                                     '%3Cbr%3Ef3'
   24     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/7tp8M
function name:  f2
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   14     0  E >   ECHO                                                     '%3Cbr%3EparentClass'
   15     1        ECHO                                                     '%3Cbr%3Ef2'
   16     2      > RETURN                                                   null

End of function f2

End of class childClass.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.63 ms | 1395 KiB | 13 Q