3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr=array( 'key1'=>'value1', 'key2'=>'value2', 0=>array( 'sub1_key1'=>'sub1_value1', 'sub1_key2'=>'sub1_value2', ), 'key3'=>array( 'sub2_key1'=>'sub2_value1', 'sub2_key2'=>'sub2_value2', ), ); $result = call_user_func_array('array_merge', $arr); print_r($results);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ieHUF
function name:  (null)
number of ops:  10
compiled vars:  !0 = $arr, !1 = $result, !2 = $results
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   17     1        INIT_FCALL                                               'array_merge'
          2        SEND_ARRAY                                               !0
          3        CHECK_UNDEF_ARGS                                         
          4        DO_FCALL                                      0  $4      
          5        ASSIGN                                                   !1, $4
   18     6        INIT_FCALL                                               'print_r'
          7        SEND_VAR                                                 !2
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.75 ms | 1394 KiB | 17 Q