3v4l.org

run code in 300+ PHP versions simultaneously
<?php class P { static $a=9; function __get($var) { return self::$var; } } var_dump(isset(P::$a));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/BUgQc
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   15     0  E >   INIT_FCALL                                               'var_dump'
          1        ISSET_ISEMPTY_STATIC_PROP                        ~0      'a'
          2        SEND_VAL                                                 ~0
          3        DO_ICALL                                                 
          4      > RETURN                                                   1

Class P:
Function __get:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/BUgQc
function name:  __get
number of ops:  4
compiled vars:  !0 = $var
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   RECV                                             !0      
    9     1        FETCH_STATIC_PROP_R          unknown             ~1      'var'
          2      > RETURN                                                   ~1
   11     3*     > RETURN                                                   null

End of function __get

End of class P.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.14 ms | 1385 KiB | 15 Q