3v4l.org

run code in 500+ PHP versions simultaneously
<?php $arr=[ 'a' => [ 'b' => 3, ] ]; $globalsCopy = $GLOBALS; $globalsCopy['arr']['a']['b'] = 12; var_dump($arr);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lqYaR
function name:  (null)
number of ops:  11
compiled vars:  !0 = $arr, !1 = $globalsCopy
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, <array>
    8     1        FETCH_GLOBALS                                        ~3      
          2        ASSIGN                                                       !1, ~3
    9     3        FETCH_DIM_W                                          $5      !1, 'arr'
          4        FETCH_DIM_W                                          $6      $5, 'a'
          5        ASSIGN_DIM                                                   $6, 'b'
          6        OP_DATA                                                      12
   10     7        INIT_FCALL                                                   'var_dump'
          8        SEND_VAR                                                     !0
          9        DO_ICALL                                                     
         10      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
158.87 ms | 1974 KiB | 14 Q