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.

參數(shù)

ptr

The handle of the unmanaged pointer to a C data structure.

返回值

沒有返回值。