3v4l.org

run code in 500+ PHP versions simultaneously
<?php var_dump(isset($some->variable->that["doesn't"]->exist)); var_dump($some->variable->that["doesn't"]->exist ?? 'default value');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/eIOtj
function name:  (null)
number of ops:  17
compiled vars:  !0 = $some
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'var_dump'
          1        FETCH_OBJ_IS                                         ~1      !0, 'variable'
          2        FETCH_OBJ_IS                                         ~2      ~1, 'that'
          3        FETCH_DIM_IS                                         ~3      ~2, 'doesn%27t'
          4        ISSET_ISEMPTY_PROP_OBJ                               ~4      ~3, 'exist'
          5        SEND_VAL                                                     ~4
          6        DO_ICALL                                                     
    4     7        INIT_FCALL                                                   'var_dump'
          8        FETCH_OBJ_IS                                         ~6      !0, 'variable'
          9        FETCH_OBJ_IS                                         ~7      ~6, 'that'
         10        FETCH_DIM_IS                                         ~8      ~7, 'doesn%27t'
         11        FETCH_OBJ_IS                                         ~9      ~8, 'exist'
         12        COALESCE                                             ~10     ~9
         13        QM_ASSIGN                                            ~10     'default+value'
         14        SEND_VAL                                                     ~10
         15        DO_ICALL                                                     
         16      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
235.84 ms | 2092 KiB | 14 Q