3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
141.86 ms | 1394 KiB | 15 Q