3v4l.org

run code in 500+ PHP versions simultaneously
<?php $masterArray = [ [ ['gross_value' => '100', 'quantity' => '5'], ['gross_value' => '200', 'quantity' => '6'] ], [ ['item_title_id' => '1', 'order_id' => '3'], ['item_title_id' => '2', 'order_id' => '4'] ], [ ['foo' => 'bar1'], ['foo' => 'bar2'] ] ]; var_export( array_map('array_merge', ...$masterArray) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9LGHH
function name:  (null)
number of ops:  10
compiled vars:  !0 = $masterArray
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, <array>
   18     1        INIT_FCALL                                                   'var_export'
   19     2        INIT_FCALL                                                   'array_map'
          3        SEND_VAL                                                     'array_merge'
          4        SEND_UNPACK                                                  !0
          5        CHECK_UNDEF_ARGS                                             
          6        DO_ICALL                                             $2      
          7        SEND_VAR                                                     $2
   18     8        DO_ICALL                                                     
   20     9      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
178.85 ms | 1946 KiB | 15 Q