FFI\CType::getFuncParameterType

(PHP 8 >= 8.1.0)

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

説明

public function FFI\CType::getFuncParameterType(int $index): FFI\CType

内部的に保持している関数型の引数の型を返します。

パラメータ

index

関数の引数の添字 (ゼロ始まり)。

戻り値

内部的に保持している関数型の引数の型を返します。 内部的に保持している型が関数でない場合や、 与えられた添字がその関数の引数の範囲外の場合、 FFI\Exception をスローします。

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top