« FFI\CType::getFuncABI
FFI\CType::getFuncParameterType »

FFI\CType::getFuncParameterCount

(PHP 8 >= 8.1.0)

FFI\CType::getFuncParameterCount — 関数型の引数の数を取得する

説明

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

パラメータ

この関数にはパラメータはありません。

戻り値

内部的に保持している関数型の引数の数を返します。 内部的に保持している型が関数でない場合、 FFI\Exception をスローします。

関連キーワード:
CType   getFuncParameterCount   内部的   保持   getFuncABI   getFuncParameterType   Exception
関連する関数・ページ:
ffi-ctype.getfuncparametertype   ffi-ctype.getfuncabi   ffi-ctype.getfuncreturntype   ffi-ctype.getname   class.ffi-ctype   ffi-ctype.getsize