3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a1 = array( 'apple'=>1,'banana'=>2,'coconut'=> 3); $a2 = array( 'apple'=>2,'banana'=>3,'coconut'=> 4); echo "<pre>"; print_r(array_merge_recursive($a1,$a2)); echo "</pre>";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/5OCKI
function name:  (null)
number of ops:  12
compiled vars:  !0 = $a1, !1 = $a2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN                                                   !1, <array>
    6     2        ECHO                                                     '%3Cpre%3E'
    7     3        INIT_FCALL                                               'print_r'
          4        INIT_FCALL                                               'array_merge_recursive'
          5        SEND_VAR                                                 !0
          6        SEND_VAR                                                 !1
          7        DO_ICALL                                         $4      
          8        SEND_VAR                                                 $4
          9        DO_ICALL                                                 
    8    10        ECHO                                                     '%3C%2Fpre%3E'
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
271.73 ms | 1010 KiB | 15 Q