3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array_test['first']['two']['three'] = ($array_test['first']['two']['three'] ?? 0) + 10; var_export($array_test);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/26HWD
function name:  (null)
number of ops:  14
compiled vars:  !0 = $array_test
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   FETCH_DIM_IS                                     ~4      !0, 'first'
          1        FETCH_DIM_IS                                     ~5      ~4, 'two'
          2        FETCH_DIM_IS                                     ~6      ~5, 'three'
          3        COALESCE                                         ~7      ~6
          4        QM_ASSIGN                                        ~7      0
          5        ADD                                              ~8      ~7, 10
          6        FETCH_DIM_W                                      $1      !0, 'first'
          7        FETCH_DIM_W                                      $2      $1, 'two'
          8        ASSIGN_DIM                                               $2, 'three'
          9        OP_DATA                                                  ~8
    5    10        INIT_FCALL                                               'var_export'
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
137.11 ms | 998 KiB | 14 Q