3v4l.org

run code in 500+ 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 = 61) Position 1 = -2
filename:       /in/c4JCo
function name:  (null)
number of ops:  11
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      > INIT_FCALL                                                   'exit'
          9*       DO_ICALL                                                     
   21    10*     > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
147.68 ms | 2177 KiB | 17 Q