3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { public function callFuncXXOO() { print $this->funcXXOO(); } public function funcXXOO() { return "A::funcXXOO()"; } } class B extends A { public function funcXXOO() { return "B::funcXXOO"; } } $b = new B; $b->callFuncXXOO();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/BWJsA
function name:  (null)
number of ops:  6
compiled vars:  !0 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   23     0  E >   NEW                                              $1      'B'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
   24     3        INIT_METHOD_CALL                                         !0, 'callFuncXXOO'
          4        DO_FCALL                                      0          
          5      > RETURN                                                   1

Class A:
Function callfuncxxoo:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/BWJsA
function name:  callFuncXXOO
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   INIT_METHOD_CALL                                         'funcXXOO'
          1        DO_FCALL                                      0  $0      
          2        ECHO                                                     $0
    7     3      > RETURN                                                   null

End of function callfuncxxoo

Function funcxxoo:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/BWJsA
function name:  funcXXOO
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E > > RETURN                                                   'A%3A%3AfuncXXOO%28%29'
   12     1*     > RETURN                                                   null

End of function funcxxoo

End of class A.

Class B:
Function funcxxoo:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/BWJsA
function name:  funcXXOO
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   19     0  E > > RETURN                                                   'B%3A%3AfuncXXOO'
   20     1*     > RETURN                                                   null

End of function funcxxoo

Function callfuncxxoo:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/BWJsA
function name:  callFuncXXOO
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   INIT_METHOD_CALL                                         'funcXXOO'
          1        DO_FCALL                                      0  $0      
          2        ECHO                                                     $0
    7     3      > RETURN                                                   null

End of function callfuncxxoo

End of class B.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.05 ms | 1386 KiB | 13 Q