3v4l.org

run code in 300+ PHP versions simultaneously
<?php $false = null; $test = array(); $test['parent'] = array(); $test['parent']['child'] = 'foo'; $test['parent'][$false] = 'bar'; var_dump(isset($test['parent']['child'])); var_dump(isset($test['parent'][$false])); var_dump($test);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mdMA3
function name:  (null)
number of ops:  24
compiled vars:  !0 = $false, !1 = $test
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, null
    3     1        ASSIGN                                                   !1, <array>
    4     2        ASSIGN_DIM                                               !1, 'parent'
          3        OP_DATA                                                  <array>
    5     4        FETCH_DIM_W                                      $5      !1, 'parent'
          5        ASSIGN_DIM                                               $5, 'child'
          6        OP_DATA                                                  'foo'
    6     7        FETCH_DIM_W                                      $7      !1, 'parent'
          8        ASSIGN_DIM                                               $7, !0
          9        OP_DATA                                                  'bar'
    7    10        INIT_FCALL                                               'var_dump'
         11        FETCH_DIM_IS                                     ~9      !1, 'parent'
         12        ISSET_ISEMPTY_DIM_OBJ                         0  ~10     ~9, 'child'
         13        SEND_VAL                                                 ~10
         14        DO_ICALL                                                 
    8    15        INIT_FCALL                                               'var_dump'
         16        FETCH_DIM_IS                                     ~12     !1, 'parent'
         17        ISSET_ISEMPTY_DIM_OBJ                         0  ~13     ~12, !0
         18        SEND_VAL                                                 ~13
         19        DO_ICALL                                                 
    9    20        INIT_FCALL                                               'var_dump'
         21        SEND_VAR                                                 !1
         22        DO_ICALL                                                 
         23      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.63 ms | 1386 KiB | 15 Q