3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.66 ms | 1450 KiB | 14 Q