PHP - Manual: FFI::typeof
2024-12-21
(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.
官方地址:https://www.php.net/manual/en/ffi.typeof.php