3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = Array ( [0] => Array ( [Price] => 1 ), [1] => Array ( [Size] => 7 ), [2] => Array ( [Type] => 2 ) ); $result = call_user_func_array('array_merge', $arr); print_r($result);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/1CU14
function name:  (null)
number of ops:  22
compiled vars:  !0 = $arr, !1 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   FETCH_CONSTANT                                   ~2      'Price'
          1        INIT_ARRAY                                       ~3      ~2
          2        INIT_ARRAY                                       ~4      1, ~3
          3        INIT_ARRAY                                       ~5      ~4, <array>
   11     4        FETCH_CONSTANT                                   ~6      'Size'
          5        INIT_ARRAY                                       ~7      ~6
          6        INIT_ARRAY                                       ~8      7, ~7
          7        ADD_ARRAY_ELEMENT                                ~5      ~8, <array>
   15     8        FETCH_CONSTANT                                   ~9      'Type'
          9        INIT_ARRAY                                       ~10     ~9
         10        INIT_ARRAY                                       ~11     2, ~10
         11        ADD_ARRAY_ELEMENT                                ~5      ~11, <array>
    3    12        ASSIGN                                                   !0, ~5
   19    13        INIT_FCALL                                               'array_merge'
         14        SEND_ARRAY                                               !0
         15        CHECK_UNDEF_ARGS                                         
         16        DO_FCALL                                      0  $13     
         17        ASSIGN                                                   !1, $13
   20    18        INIT_FCALL                                               'print_r'
         19        SEND_VAR                                                 !1
         20        DO_ICALL                                                 
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.99 ms | 1395 KiB | 17 Q