3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
140.75 ms | 953 KiB | 16 Q