3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = Array( Array ( 'd1' => 'P', 'd2' => '', 'd3' => '' ), Array ( 'd1' => '', 'd2' => 'A', 'd3' => 'P' ) ); $result = call_user_func_array("array_merge", array_filter($input)); var_export($result);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Y5H6D
function name:  (null)
number of ops:  13
compiled vars:  !0 = $input, !1 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
   17     1        INIT_FCALL                                               'array_merge'
          2        INIT_FCALL                                               'array_filter'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $3      
          5        SEND_ARRAY                                               $3
          6        CHECK_UNDEF_ARGS                                         
          7        DO_FCALL                                      0  $4      
          8        ASSIGN                                                   !1, $4
   19     9        INIT_FCALL                                               'var_export'
         10        SEND_VAR                                                 !1
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
245.68 ms | 1398 KiB | 19 Q