3v4l.org

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

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

End of function b

End of class A.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.04 ms | 1398 KiB | 15 Q