©
本文檔使用 php中文網手册 發布
(PHP 5, PHP 7 >= 5.3.0, PHP 7)
gc_collect_cycles — 强制收集所有现存的垃圾循环周期
强制收集所有现存的垃圾循环周期。
此函数没有参数。
返回收集的循环数量。
[#1] Mason [2011-09-07 16:22:53]
(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!