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);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/AS5GL
function name:  (null)
number of ops:  7
compiled vars:  !0 = $arr, !1 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
   16     1        INIT_FCALL                                               'array_merge'
          2        SEND_ARRAY                                               !0
          3        CHECK_UNDEF_ARGS                                         
          4        DO_FCALL                                      0  $3      
          5        ASSIGN                                                   !1, $3
          6      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.3 ms | 1393 KiB | 15 Q