3v4l.org

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

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

End of function _

End of class P.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.4 ms | 1394 KiB | 17 Q