FFI::free
PHP function
Edit on GitHub ✎
(PHP 7 >= 7.4.0, PHP 8)
Releases an unmanaged data structure
Description
FFI::free(FFI\CData $ptr): void
Manually releases a previously created unmanaged data structure.
Parameters
ptrThe handle of the unmanaged pointer to a C data structure.
Return Values
Void