FFI::free

(PHP 7 >= 7.4.0, PHP 8)

FFI::freeReleases an unmanaged data structure

说明

publicstaticFFI::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