array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'function.gc-mem-caches.php', 1 => 'gc_mem_caches', 2 => 'Reclaims memory used by the Zend Engine memory manager', ), 'up' => array ( 0 => 'ref.info.php', 1 => 'PHP 选项/信息 函数', ), 'prev' => array ( 0 => 'function.gc-enabled.php', 1 => 'gc_enabled', ), 'next' => array ( 0 => 'function.gc-status.php', 1 => 'gc_status', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/info/functions/gc-mem-caches.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

gc_mem_caches

(PHP 7, PHP 8)

gc_mem_caches Reclaims memory used by the Zend Engine memory manager

说明

gc_mem_caches(): int

Reclaims memory used by the Zend Engine memory manager.

参数

此函数没有参数。

返回值

Returns the number of bytes freed.

参见