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

Descrizione

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

Elenco dei parametri

Questa funzione non contiene parametri.

Valori restituiti

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