3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
138.13 ms | 1398 KiB | 15 Q