array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'tr', ), 'this' => array ( 0 => 'ffi-ctype.getfuncparametercount.php', 1 => 'FFI\\CType::getFuncParameterCount', 2 => 'Retrieve the count of parameters of a function type', ), 'up' => array ( 0 => 'class.ffi-ctype.php', 1 => 'FFI\\CType', ), 'prev' => array ( 0 => 'ffi-ctype.getfuncabi.php', 1 => 'FFI\\CType::getFuncABI', ), 'next' => array ( 0 => 'ffi-ctype.getfuncparametertype.php', 1 => 'FFI\\CType::getFuncParameterType', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/ffi/ctype/getfuncparametercount.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

FFI\CType::getFuncParameterCount

(PHP 8 >= 8.1.0)

FFI\CType::getFuncParameterCountRetrieve the count of parameters of a function type

Açıklama

public FFI\CType::getFuncParameterCount(): int

Bağımsız Değişkenler

Bu işlevin bağımsız değişkeni yoktur.

Dönen Değerler

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