FFI::typeof
PHP function
Edit on GitHub ✎
(PHP 7 >= 7.4.0, PHP 8)
Gets the FFI\CType of FFI\CData
Description
FFI::typeof(FFI\CData $ptr): FFI\CType
Gets the FFI\CType object representing the type of the given FFI\CData object.
Parameters
ptrThe 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.