3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.74 ms | 939 KiB | 18 Q