FFI\CType::getFuncParameterType

(PHP 8 >= 8.1.0)

FFI\CType::getFuncParameterTypeRetrieve the type of a function parameter

说明

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

Returns the type of a parameter for the underlying function type.

参数

index

Index of the function parameter, zero-based.

返回值

Returns the type of a parameter for the underlying function type. If the underlying type is not a function, or the given index is outside of the range of parameters of the function, an FFI\Exception is thrown.

添加备注

用户贡献的备注

此页面尚无用户贡献的备注。
To Top