3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr=array('3'=>array("a","b","c"),'4'=>array("d","e")); echo "<pre>";print_r(array_merge(array_values($arr))); echo "<pre>";print_r(call_user_func_array('array_merge', $arr)); ;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/k3kQ8
function name:  (null)
number of ops:  20
compiled vars:  !0 = $arr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ECHO                                                     '%3Cpre%3E'
          2        INIT_FCALL                                               'print_r'
          3        INIT_FCALL                                               'array_merge'
          4        INIT_FCALL                                               'array_values'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $2      
          7        SEND_VAR                                                 $2
          8        DO_ICALL                                         $3      
          9        SEND_VAR                                                 $3
         10        DO_ICALL                                                 
    4    11        ECHO                                                     '%3Cpre%3E'
         12        INIT_FCALL                                               'print_r'
         13        INIT_FCALL                                               'array_merge'
         14        SEND_ARRAY                                               !0
         15        CHECK_UNDEF_ARGS                                         
         16        DO_FCALL                                      0  $5      
         17        SEND_VAR                                                 $5
         18        DO_ICALL                                                 
    6    19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.79 ms | 940 KiB | 20 Q