3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
208.53 ms | 1398 KiB | 15 Q