FFI::free
PHP Manual
PHP Manual»FFI»FFI::free

FFI::free

(PHP 7 >= 7.4.0, PHP 8)

FFI::free — Releases an unmanaged data structure

说明

public static function 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.

返回值

没有返回值。

To Top