3v4l.org

run code in 300+ PHP versions simultaneously
<?php $g=array('gg'); echo $a['b'][$g[0]] ?? 'cc';
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cYUZb
function name:  (null)
number of ops:  8
compiled vars:  !0 = $g, !1 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        FETCH_DIM_R                                      ~4      !0, 0
          2        FETCH_DIM_IS                                     ~3      !1, 'b'
          3        FETCH_DIM_IS                                     ~5      ~3, ~4
          4        COALESCE                                         ~6      ~5
          5        QM_ASSIGN                                        ~6      'cc'
          6        ECHO                                                     ~6
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
175.32 ms | 1392 KiB | 13 Q