3v4l.org

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

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

End of function x

End of class A.

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

End of function x

End of class B.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.56 ms | 1399 KiB | 15 Q