3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.85 ms | 1394 KiB | 15 Q