3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = new stdClass(); var_dump(isset($foo->a)); var_dump(isset($foo->a->b));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9Eeuu
function name:  (null)
number of ops:  13
compiled vars:  !0 = $foo
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $1      'stdClass'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
    5     3        INIT_FCALL                                               'var_dump'
          4        ISSET_ISEMPTY_PROP_OBJ                           ~4      !0, 'a'
          5        SEND_VAL                                                 ~4
          6        DO_ICALL                                                 
    6     7        INIT_FCALL                                               'var_dump'
          8        FETCH_OBJ_IS                                     ~6      !0, 'a'
          9        ISSET_ISEMPTY_PROP_OBJ                           ~7      ~6, 'b'
         10        SEND_VAL                                                 ~7
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.27 ms | 1394 KiB | 15 Q