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
 
<gc_enabledgc_status>
^PHP Options/Info FunctionsLast updated: Mon, 26 Oct 2026

gc_mem_caches

(PHP 7, PHP 8)

gc_mem_caches — Reclaims memory used by the Zend Engine memory manager

Description

function gc_mem_caches(): int

Reclaims memory used by the Zend Engine memory manager.

Parameters

This function has no parameters.

Return Values

Returns the number of bytes freed.


<gc_enabledgc_status>
^PHP Options/Info FunctionsLast updated: Mon, 26 Oct 2026