(Since this function wasn't documented as of the date I left this note...)
If you came here looking for documentation, allow me to point you instead to a section in the user manual about garbage collection that includes a bit at the end about when you would use this feature and what it will actually do: http://php.net/manual/en/features.gc.collecting-cycles.php
Hope it helps!
gc_collect_cycles
(PHP 5 >= 5.3.0)
gc_collect_cycles — すべての既存ガベージサイクルを強制的に収集する
説明
int gc_collect_cycles
( void
)
すべての既存ガベージサイクルを強制的に収集します。
パラメータ
この関数にはパラメータはありません。
返り値
収集したサイクルの数を返します。
Mason
07-Sep-2011 04:22
