3v4l.org

run code in 300+ PHP versions simultaneously
<?php $nullvar[0]['a'] = NULL; if (isset($nullvar[0]['a'])) { echo "set"; } else { echo "not set"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 8
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tSceJ
function name:  (null)
number of ops:  10
compiled vars:  !0 = $nullvar
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   FETCH_DIM_W                                      $1      !0, 0
          1        ASSIGN_DIM                                               $1, 'a'
          2        OP_DATA                                                  null
    3     3        FETCH_DIM_IS                                     ~3      !0, 0
          4        ISSET_ISEMPTY_DIM_OBJ                         0          ~3, 'a'
          5      > JMPZ                                                     ~4, ->8
    4     6    >   ECHO                                                     'set'
          7      > JMP                                                      ->9
    6     8    >   ECHO                                                     'not+set'
    7     9    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.74 ms | 1397 KiB | 13 Q