3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = [ 0 => [ 1 => "Beanie", ], 1 => [ 2 => "Cap", ] , 2 => [ 1 => "Beanie with Logo", ], ]; print_r(array_merge(...$arr));die;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 79) Position 1 = -2
filename:       /in/c4JCo
function name:  (null)
number of ops:  10
compiled vars:  !0 = $arr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
   20     1        INIT_FCALL                                               'print_r'
          2        INIT_FCALL                                               'array_merge'
          3        SEND_UNPACK                                              !0
          4        CHECK_UNDEF_ARGS                                         
          5        DO_ICALL                                         $2      
          6        SEND_VAR                                                 $2
          7        DO_ICALL                                                 
          8      > EXIT                                                     
   21     9*     > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.65 ms | 1001 KiB | 15 Q