3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array[0]['somekey'] = 'bla'; isset($array[0]['somekey']['someotherkey']) ? print array_key_exists($array[0]['somekey']['someotherkey']) : print 'NOT SET';
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 16
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 18
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Mq2tN
function name:  (null)
number of ops:  20
compiled vars:  !0 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   FETCH_DIM_W                                      $1      !0, 0
          1        ASSIGN_DIM                                               $1, 'somekey'
          2        OP_DATA                                                  'bla'
    5     3        FETCH_DIM_IS                                     ~3      !0, 0
          4        FETCH_DIM_IS                                     ~4      ~3, 'somekey'
          5        ISSET_ISEMPTY_DIM_OBJ                         0          ~4, 'someotherkey'
          6      > JMPZ                                                     ~5, ->16
          7    >   INIT_FCALL                                               'array_key_exists'
          8        FETCH_DIM_R                                      ~6      !0, 0
          9        FETCH_DIM_R                                      ~7      ~6, 'somekey'
         10        FETCH_DIM_R                                      ~8      ~7, 'someotherkey'
         11        SEND_VAL                                                 ~8
         12        DO_ICALL                                         $9      
         13        ECHO                                                     $9
         14        QM_ASSIGN                                        ~10     1
         15      > JMP                                                      ->18
         16    >   ECHO                                                     'NOT+SET'
         17        QM_ASSIGN                                        ~10     1
         18    >   FREE                                                     ~10
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.87 ms | 1386 KiB | 15 Q