Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<FFI\CType::getFuncParameterCountFFI\CType::getFuncReturnType>
^FFI\CTypeLast updated: Mon, 26 Oct 2026

FFI\CType::getFuncParameterType

(PHP 8 >= 8.1.0)

FFI\CType::getFuncParameterType — Retrieve the type of a function parameter

Description

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

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

Parameters

index

Index of the function parameter, zero-based.

Return Values

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.


<FFI\CType::getFuncParameterCountFFI\CType::getFuncReturnType>
^FFI\CTypeLast updated: Mon, 26 Oct 2026