downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

gc_disable> <extension_loaded
[edit] Last updated: Fri, 18 May 2012

view this page in

gc_collect_cycles

(PHP 5 >= 5.3.0)

gc_collect_cyclesForces collection of any existing garbage cycles

Beschreibung

int gc_collect_cycles ( void )

Forces collection of any existing garbage cycles.

Parameter-Liste

Diese Funktion hat keine Parameter.

Rückgabewerte

Returns number of collected cycles.

Siehe auch



add a note add a note User Contributed Notes gc_collect_cycles
Mason 07-Sep-2011 04:22
(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!

 
show source | credits | sitemap | contact | advertising | mirror sites