3v4l.org

run code in 300+ PHP versions simultaneously
<?php class P { static $a=9; function __get($var) { return self::$var; } function __isset($var) { return false; } } $P=new P; var_dump(isset($P->az));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/MXY6M
function name:  (null)
number of ops:  8
compiled vars:  !0 = $P
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   22     0  E >   NEW                                              $1      'P'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
   24     3        INIT_FCALL                                               'var_dump'
          4        ISSET_ISEMPTY_PROP_OBJ                           ~4      !0, 'az'
          5        SEND_VAL                                                 ~4
          6        DO_ICALL                                                 
          7      > RETURN                                                   1

Class P:
Function __get:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/MXY6M
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

Function __isset:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/MXY6M
function name:  __isset
number of ops:  3
compiled vars:  !0 = $var
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   14     0  E >   RECV                                             !0      
   15     1      > RETURN                                                   <false>
   16     2*     > RETURN                                                   null

End of function __isset

End of class P.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.85 ms | 1395 KiB | 15 Q