3v4l.org

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

Class Foo: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.93 ms | 1385 KiB | 15 Q