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::getFuncABIFFI\CType::getFuncParameterType>
^FFI\CTypeLast updated: Mon, 26 Oct 2026

FFI\CType::getFuncParameterCount

(PHP 8 >= 8.1.0)

FFI\CType::getFuncParameterCount — Retrieve the count of parameters of a function type

Description

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

Parameters

This function has no parameters.

Return Values

Returns the number of parameters for the underlying function type. If the underlying type is not a function, an FFI\Exception is thrown.


<FFI\CType::getFuncABIFFI\CType::getFuncParameterType>
^FFI\CTypeLast updated: Mon, 26 Oct 2026