3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { private static function m1() { echo 'cool'; } public static function m2() { self::m1(); } } A::m2();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/5q5cj
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', 'm2'
          1        DO_FCALL                                      0          
          2      > RETURN                                                   1

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

End of function m1

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

End of function m2

End of class A.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.21 ms | 1384 KiB | 13 Q