Releases an unmanaged data structure

FFI::free

(PHP 7 >= 7.4.0, PHP 8)

FFI::freeReleases 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.

返回值

沒有返回值。

Leave a Reply

Your email address will not be published. Required fields are marked *