FFI::free
(PHP 7 >= 7.4.0, PHP 8)
FFI::free — Releases an unmanaged data structure
说明
public static FFI::free(FFI\CData&$ptr
): void
Manually releases a previously created unmanaged data structure.
参数
ptr
The handle of the unmanaged pointer to a C data structure.
返回值
没有返回值。
User Contributed Notes
There are no user contributed notes for this page.官方地址:https://www.php.net/manual/en/ffi.free.php