3v4l.org

run code in 500+ PHP versions simultaneously
<?php var_export($array['does']['not']['exist'] ?? 'nope'); echo "\n---\n"; var_export($obj->does->not->exist ?? 'nope');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ZY1M5
function name:  (null)
number of ops:  18
compiled vars:  !0 = $array, !1 = $obj
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'var_export'
          1        FETCH_DIM_IS                                         ~2      !0, 'does'
          2        FETCH_DIM_IS                                         ~3      ~2, 'not'
          3        FETCH_DIM_IS                                         ~4      ~3, 'exist'
          4        COALESCE                                             ~5      ~4
          5        QM_ASSIGN                                            ~5      'nope'
          6        SEND_VAL                                                     ~5
          7        DO_ICALL                                                     
    5     8        ECHO                                                         '%0A---%0A'
    7     9        INIT_FCALL                                                   'var_export'
         10        FETCH_OBJ_IS                                         ~7      !1, 'does'
         11        FETCH_OBJ_IS                                         ~8      ~7, 'not'
         12        FETCH_OBJ_IS                                         ~9      ~8, 'exist'
         13        COALESCE                                             ~10     ~9
         14        QM_ASSIGN                                            ~10     'nope'
         15        SEND_VAL                                                     ~10
         16        DO_ICALL                                                     
         17      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
164.89 ms | 1605 KiB | 14 Q