3v4l.org

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

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

End of function step1

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

End of function step2

End of class A.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.93 ms | 1397 KiB | 13 Q