3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.36 ms | 1394 KiB | 15 Q