PHP 8.4.2 Released!

FFI\CType::getFuncParameterCount

(PHP 8 >= 8.1.0)

FFI\CType::getFuncParameterCountRetrieve the count of parameters of a function type

Description

public 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.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top