3v4l.org

run code in 300+ PHP versions simultaneously
<?php class a { protected $b = 'a'; public static function c() { return self::$b; } } echo a::c;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/edSen
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   13     0  E >   FETCH_CLASS_CONSTANT                             ~0      'a', 'c'
          1        ECHO                                                     ~0
          2      > RETURN                                                   1

Class a:
Function c:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/edSen
function name:  c
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   FETCH_STATIC_PROP_R          unknown             ~0      'b'
          1      > RETURN                                                   ~0
    9     2*     > RETURN                                                   null

End of function c

End of class a.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.8 ms | 1393 KiB | 13 Q