(PHP 7 >= 7.4.0)
FFI::typeof — Gets the FFI\CType of FFI\CData
public static FFI::typeof ( FFI\CData &$ptr ) : FFI\CType
&$ptr
Gets the FFI\CType object representing the type of the given FFI\CData object.
ptr
Returns the FFI\CType object representing the type of the given FFI\CData object.