FFI\CType::getFuncParameterCount
PHP function
Edit on GitHub ✎
(PHP 8 >= 8.1.0)
Retrieve the count of parameters of a function type
Description
FFI\CType::getFuncParameterCount(): int
Parameters Parameters
Return Values
Returns the number of parameters for the underlying function type. If the underlying type is not a function, an FFI\Exception is thrown.