3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test['index'] = 'fdngnkfdklgn'; var_dump(empty($test['keinIndex']), empty($test['index'])); $test['index'] = ''; var_dump(empty($test['index'])); $object = new Standard(); var_dump(empty($object));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/4YbDo
function name:  (null)
number of ops:  22
compiled vars:  !0 = $test, !1 = $object
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_DIM_OBJ                         1  ~3      !0, 'keinIndex'
          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                                                 
    7    14        NEW                                              $9      'Standard'
         15        DO_FCALL                                      0          
         16        ASSIGN                                                   !1, $9
    8    17        INIT_FCALL                                               'var_dump'
         18        ISSET_ISEMPTY_CV                                 ~12     !1
         19        SEND_VAL                                                 ~12
         20        DO_ICALL                                                 
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.7 ms | 1395 KiB | 15 Q