3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.35 ms | 1398 KiB | 15 Q