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::typeFFI\CData>
^FFILast updated: Mon, 26 Oct 2026

FFI::typeof

(PHP 7 >= 7.4.0, PHP 8)

FFI::typeof — Gets the FFI\CType of FFI\CData

Description

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

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

Parameters

ptr

The handle of the pointer to a C data structure.

Return Values

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


<FFI::typeFFI\CData>
^FFILast updated: Mon, 26 Oct 2026