« gc_disable
gc_enabled »

gc_enable

(PHP 5 >= 5.3.0, PHP 7, PHP 8)

gc_enable — 循環参照コレクタを有効にする

説明

function gc_enable(): void

zend.enable_gc を 1 に設定して、循環参照コレクタを有効にします。

パラメータ

この関数にはパラメータはありません。

戻り値

値を返しません。

関連キーワード:
循環   コレクタ   enable   disable   enabled   zend   参考   ガベージコレクション
関連する関数・ページ:
function.gc-disable   function.gc-enabled   book.info   ref.info   features.gc.performance-considerations   features.gc.collecting-cycles