3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ [ [ 'Post' => [ 'name' => 'value', ], ], ], [ [ 'Post' => [ 'name' => 'value', ], ], [ 'Post' => [ 'name' => 'value', ], ], ], ]; var_export(call_user_func_array('array_merge', $array)); echo "\n---\n"; var_export(array_merge(...$array));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/IW948
function name:  (null)
number of ops:  17
compiled vars:  !0 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   25     1        INIT_FCALL                                               'var_export'
          2        INIT_FCALL                                               'array_merge'
          3        SEND_ARRAY                                               !0
          4        CHECK_UNDEF_ARGS                                         
          5        DO_FCALL                                      1  $2      
          6        SEND_VAR                                                 $2
          7        DO_ICALL                                                 
   26     8        ECHO                                                     '%0A---%0A'
   27     9        INIT_FCALL                                               'var_export'
         10        INIT_FCALL                                               'array_merge'
         11        SEND_UNPACK                                              !0
         12        CHECK_UNDEF_ARGS                                         
         13        DO_ICALL                                         $4      
         14        SEND_VAR                                                 $4
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
278.02 ms | 1010 KiB | 15 Q