array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'ffi-ctype.getfuncparametertype.php', 1 => 'FFI\\CType::getFuncParameterType', 2 => 'Retrieve the type of a function parameter', ), 'up' => array ( 0 => 'class.ffi-ctype.php', 1 => 'FFI\\CType', ), 'prev' => array ( 0 => 'ffi-ctype.getfuncparametercount.php', 1 => 'FFI\\CType::getFuncParameterCount', ), 'next' => array ( 0 => 'ffi-ctype.getfuncreturntype.php', 1 => 'FFI\\CType::getFuncReturnType', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/ffi/ctype/getfuncparametertype.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>
(PHP 8 >= 8.1.0)
FFI\CType::getFuncParameterType — Retrieve the type of a function parameter
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.