(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!
(PHP 5 >= 5.3.0)
gc_collect_cycles — Forces collection of any existing garbage cycles
int gc_collect_cycles ( void )
Forces collection of any existing garbage cycles.
Esta função não possui parâmetros.
Returns number of collected cycles.
add a note User Contributed Notes gc_collect_cycles - [1 notes]
1 year ago