3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = mergearray(Array ( a => 1 ), Array ( b => 2 ) ); $result = call_user_func_array("array_merge", $input); var_export($result);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/TlYmf
function name:  (null)
number of ops:  18
compiled vars:  !0 = $input, !1 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL_BY_NAME                                       'mergearray'
    4     1        FETCH_CONSTANT                                   ~2      'a'
          2        INIT_ARRAY                                       ~3      1, ~2
          3        SEND_VAL_EX                                              ~3
    8     4        FETCH_CONSTANT                                   ~4      'b'
          5        INIT_ARRAY                                       ~5      2, ~4
          6        SEND_VAL_EX                                              ~5
          7        DO_FCALL                                      0  $6      
    2     8        ASSIGN                                                   !0, $6
   12     9        INIT_FCALL                                               'array_merge'
         10        SEND_ARRAY                                               !0
         11        CHECK_UNDEF_ARGS                                         
         12        DO_FCALL                                      0  $8      
         13        ASSIGN                                                   !1, $8
   14    14        INIT_FCALL                                               'var_export'
         15        SEND_VAR                                                 !1
         16        DO_ICALL                                                 
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.05 ms | 1394 KiB | 17 Q