3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.13 ms | 1394 KiB | 15 Q