3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
166.02 ms | 2491 KiB | 15 Q