3v4l.org

run code in 300+ PHP versions simultaneously
<?php $rows = [ 100 => [ ['product_id' => 101, 'name' => ''], ['product_id' => 102, 'name' => ''], ['product_id' => 103, 'name' => ''], ], 200 => [ ['product_id' => 201, 'name' => ''], ['product_id' => 202, 'name' => ''], ], 300 => [ ['product_id' => 301, 'name' => ''], ['product_id' => 302, 'name' => ''], ['product_id' => 303, 'name' => ''], ['product_id' => 304, 'name' => ''], ] ]; var_export( array_merge( ...array_filter( array_map( null, ...$rows ) ) ) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/H5S0u
function name:  (null)
number of ops:  17
compiled vars:  !0 = $rows
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   21     1        INIT_FCALL                                               'var_export'
   22     2        INIT_FCALL                                               'array_merge'
   23     3        INIT_FCALL                                               'array_filter'
   24     4        INIT_FCALL                                               'array_map'
   25     5        SEND_VAL                                                 null
   26     6        SEND_UNPACK                                              !0
          7        CHECK_UNDEF_ARGS                                         
   24     8        DO_ICALL                                         $2      
   26     9        SEND_VAR                                                 $2
   23    10        DO_ICALL                                         $3      
   26    11        SEND_UNPACK                                              $3
         12        CHECK_UNDEF_ARGS                                         
   22    13        DO_ICALL                                         $4      
   26    14        SEND_VAR                                                 $4
   21    15        DO_ICALL                                                 
   30    16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
202.96 ms | 1002 KiB | 17 Q