3v4l.org

run code in 300+ PHP versions simultaneously
<?php $one = array( '4158' => array( 'raw' => 'something', 'rendered' => 'something else', ), 'foo' => 'string', 'bar' => array( 'key' => 'value', 'baz' => 100, ), ); $two = array( '4158' => array( 'protected' => 'has a password', ), 'bar' => array( 'zzz' => 'yo', ), 'go' => 'Cubs', ); $temp = $one + (array) $two; var_dump( $temp );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/qdhJC
function name:  (null)
number of ops:  9
compiled vars:  !0 = $one, !1 = $two, !2 = $temp
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   15     1        ASSIGN                                                   !1, <array>
   25     2        CAST                                          7  ~5      !1
          3        ADD                                              ~6      !0, ~5
          4        ASSIGN                                                   !2, ~6
   26     5        INIT_FCALL                                               'var_dump'
          6        SEND_VAR                                                 !2
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
184.64 ms | 1449 KiB | 14 Q