(PHP 7 >= 7.4.0, PHP 8)
FFI::typeof — Gets the FFI\CType of FFI\CData
&$ptr
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.