3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hereIsMyInpput = ['oh' => 'ah']; //and I want this: //['oh' => 'wooooww']; //right now I have this: $output = $hereIsMyInpput; $output['oh'] = 'wheeeee'; //result isn't really what I need: var_dump($output); //and I don't know why?
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fTKMm
function name:  (null)
number of ops:  8
compiled vars:  !0 = $hereIsMyInpput, !1 = $output
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    9     1        ASSIGN                                                   !1, !0
   10     2        ASSIGN_DIM                                               !1, 'oh'
          3        OP_DATA                                                  'wheeeee'
   14     4        INIT_FCALL                                               'var_dump'
          5        SEND_VAR                                                 !1
          6        DO_ICALL                                                 
   16     7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.34 ms | 1393 KiB | 15 Q