FFI\CType::getFuncParameterType
(PHP 8 >= 8.1.0)
FFI\CType::getFuncParameterType — Retrieve the type of a function parameter
Description
Returns the type of a parameter for the underlying function type.
Parameters
index
Index of the function parameter, zero-based.
Return Values
Returns the type of a parameter for the underlying function type. If the underlying type is not a function, or the given index is outside of the range of parameters of the function, an FFI\Exception is thrown.
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
