3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array['key'] ??= 1;
based on J1roB
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Z3dPV
function name:  (null)
number of ops:  7
compiled vars:  !0 = $array
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   2     0  E >   FETCH_DIM_IS                                     ~1      !0, 'key'
         1        COALESCE                                         ~2      ~1
         2        ASSIGN_DIM                                       $3      !0, 'key'
         3        OP_DATA                                                  1
         4        QM_ASSIGN                                        ~2      $3
         5        FREE                                                     ~2
   3     6      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.4.0