3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.76 ms | 1394 KiB | 15 Q