3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
158.48 ms | 1762 KiB | 17 Q