FFI\CType::getFuncParameterCount
PHP Manual
PHP Manual»FFI\CType»FFI\CType::getFuncParameterCount

FFI\CType::getFuncParameterCount

(PHP 8 >= 8.1.0)

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

Beschreibung

public function FFI\CType::getFuncParameterCount(): int

Parameter-Liste

Diese Funktion besitzt keine Parameter.

Rückgabewerte

Returns the number of parameters for the underlying function type. If the underlying type is not a function, an FFI\Exception is thrown.

To Top