Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<FFI::cdefFFI::isNull>
^FFILast updated: Mon, 26 Oct 2026

FFI::free

(PHP 7 >= 7.4.0, PHP 8)

FFI::free — Releases an unmanaged data structure

Description

public static function FFI::free(FFI\CData &$ptr): void

Manually releases a previously created unmanaged data structure.

Parameters

ptr

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

Return Values

No value is returned.


<FFI::cdefFFI::isNull>
^FFILast updated: Mon, 26 Oct 2026