3v4l.org

run code in 500+ PHP versions simultaneously
<?php $foo = ['bar' => []]; var_dump(!empty($foo['bar']['baz']));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/DBqAh
function name:  (null)
number of ops:  8
compiled vars:  !0 = $foo
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                       !0, <array>
    6     1        INIT_FCALL                                                   'var_dump'
          2        FETCH_DIM_IS                                         ~2      !0, 'bar'
          3        ISSET_ISEMPTY_DIM_OBJ                             1  ~3      ~2, 'baz'
          4        BOOL_NOT                                             ~4      ~3
          5        SEND_VAL                                                     ~4
          6        DO_ICALL                                                     
          7      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
143.79 ms | 484 KiB | 10 Q