3v4l.org

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

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

End of function get

Function resolve:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/YosvA
function name:  resolve
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   INIT_FCALL                                               'var_dump'
          1        FETCH_CONSTANT                                   ~0      'self'
          2        GET_CLASS                                        ~1      ~0
          3        SEND_VAL                                                 ~1
          4        DO_ICALL                                                 
   13     5      > RETURN                                                   null

End of function resolve

End of class A.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.34 ms | 1395 KiB | 15 Q