FFI\CType::getFuncParameterCount
(PHP 8 >= 8.1.0)
FFI\CType::getFuncParameterCount — Retrieve the count of parameters of a function type
Description
public function FFI\CType::getFuncParameterCount():
int
Parameters
This function has no 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.