3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { static function ho(){ static::ga(); } function ga(){} function gg(){} } A::ho(); class B extends A { static function ho(){ parent::gg(); } } B::ho();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/oXpcD
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   INIT_STATIC_METHOD_CALL                                  'A', 'ho'
          1        DO_FCALL                                      0          
   18     2        INIT_STATIC_METHOD_CALL                                  'B', 'ho'
          3        DO_FCALL                                      0          
          4      > RETURN                                                   1

Class A:
Function ho:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/oXpcD
function name:  ho
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   INIT_STATIC_METHOD_CALL                                  'ga'
          1        DO_FCALL                                      0          
    6     2      > RETURN                                                   null

End of function ho

Function ga:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/oXpcD
function name:  ga
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E > > RETURN                                                   null

End of function ga

Function gg:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/oXpcD
function name:  gg
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E > > RETURN                                                   null

End of function gg

End of class A.

Class B:
Function ho:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/oXpcD
function name:  ho
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   15     0  E >   INIT_STATIC_METHOD_CALL                                  'gg'
          1        DO_FCALL                                      0          
   16     2      > RETURN                                                   null

End of function ho

Function ga:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/oXpcD
function name:  ga
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E > > RETURN                                                   null

End of function ga

Function gg:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/oXpcD
function name:  gg
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E > > RETURN                                                   null

End of function gg

End of class B.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.92 ms | 1395 KiB | 13 Q