#
efbdcb8e |
| 14-Jul-2021 |
Tyson Andre |
Rename FFI `getFuncArg*` to `getFuncParameter*`, $arg_index->$index (#7236) PHP is already already using "Parameter" instead of "Argument" for reflection on types elsewhere. Paramet
Rename FFI `getFuncArg*` to `getFuncParameter*`, $arg_index->$index (#7236) PHP is already already using "Parameter" instead of "Argument" for reflection on types elsewhere. Parameter is used to refer to the function declarations (AST_PARAM internally in the AST, ReflectionFunctionAbstract->getParameters(), etc.) Argument is used to refer to expressions passed to the functions by the caller (ArgumentCountError, etc.). (Error messages were also changed in php 8.x to refer to passing too many arguments to a function) Other languages use similar definitions, e.g. https://developer.mozilla.org/en-US/docs/Glossary/Parameter
show more ...
|