array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'ja', ), 'this' => array ( 0 => 'ffi.typeof.php', 1 => 'FFI::typeof', 2 => 'Gets the FFI\\CType of FFI\\CData', ), 'up' => array ( 0 => 'class.ffi.php', 1 => 'FFI', ), 'prev' => array ( 0 => 'ffi.type.php', 1 => 'FFI::type', ), 'next' => array ( 0 => 'class.ffi-cdata.php', 1 => 'FFI\\CData', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/ffi/ffi/typeof.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

FFI::typeof

(PHP 7 >= 7.4.0, PHP 8)

FFI::typeofGets the FFI\CType of FFI\CData

説明

public static FFI::typeof(FFI\CData &$ptr): FFI\CType

Gets the FFI\CType object representing the type of the given FFI\CData object.

パラメータ

ptr

The handle of the pointer to a C data structure.

戻り値

Returns the FFI\CType object representing the type of the given FFI\CData object.