3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = Array( Array ( 0 => 1 , 1 => Coffee, 2 => Dancing, ), Array ( 0 => 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/QcNt3
function name:  (null)
number of ops:  17
compiled vars:  !0 = $input, !1 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   INIT_ARRAY                                       ~2      1, 0
          1        FETCH_CONSTANT                                   ~3      'Coffee'
          2        ADD_ARRAY_ELEMENT                                ~2      ~3, 1
          3        FETCH_CONSTANT                                   ~4      'Dancing'
          4        ADD_ARRAY_ELEMENT                                ~2      ~4, 2
          5        INIT_ARRAY                                       ~5      ~2
          6        ADD_ARRAY_ELEMENT                                ~5      <array>
    2     7        ASSIGN                                                   !0, ~5
   13     8        INIT_FCALL                                               'array_merge'
          9        SEND_ARRAY                                               !0
         10        CHECK_UNDEF_ARGS                                         
         11        DO_FCALL                                      0  $7      
         12        ASSIGN                                                   !1, $7
   15    13        INIT_FCALL                                               'var_export'
         14        SEND_VAR                                                 !1
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.08 ms | 1394 KiB | 17 Q