3v4l.org

run code in 300+ PHP versions simultaneously
<?php function odin(&$a) { var_dump(func_num_args()); } call_user_func_array('odin', $a = range(1, 70000));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3MFeM
function name:  (null)
number of ops:  10
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   INIT_FCALL                                               'odin'
          1        INIT_FCALL                                               'range'
          2        SEND_VAL                                                 1
          3        SEND_VAL                                                 70000
          4        DO_ICALL                                         $1      
          5        ASSIGN                                           ~2      !0, $1
          6        SEND_ARRAY                                               ~2
          7        CHECK_UNDEF_ARGS                                         
          8        DO_FCALL                                      0          
          9      > RETURN                                                   1

Function odin:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3MFeM
function name:  odin
number of ops:  6
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
    4     1        INIT_FCALL                                               'var_dump'
          2        FUNC_NUM_ARGS                                    ~1      
          3        SEND_VAL                                                 ~1
          4        DO_ICALL                                                 
    5     5      > RETURN                                                   null

End of function odin

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.01 ms | 1397 KiB | 18 Q