3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = array(); $x['a']['b'] = true; $x['a']['c'] = false; if (empty($x['a']['b'])) { print "true"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 11
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
filename:       /in/IsoVh
function name:  (null)
number of ops:  12
compiled vars:  !0 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        FETCH_DIM_W                                      $2      !0, 'a'
          2        ASSIGN_DIM                                               $2, 'b'
          3        OP_DATA                                                  <true>
    4     4        FETCH_DIM_W                                      $4      !0, 'a'
          5        ASSIGN_DIM                                               $4, 'c'
          6        OP_DATA                                                  <false>
    5     7        FETCH_DIM_IS                                     ~6      !0, 'a'
          8        ISSET_ISEMPTY_DIM_OBJ                         1          ~6, 'b'
          9      > JMPZ                                                     ~7, ->11
    6    10    >   ECHO                                                     'true'
    7    11    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
185.27 ms | 1392 KiB | 13 Q