Each parameter is in the following format:
0 => array(
'name' => '$var', // The variable name.
'pass_by_reference' => false, // Passed by reference.
'type_hint' => string, // Type hint for array or custom type
)
Parameters with default values have an additional array index of
'default' with the value of the default as a string. public getMethodParameters ( integer $stackPtr ) : array | ||
$stackPtr | integer | The position in the stack of the T_FUNCTION token to acquire the parameters for. |
return | array |