GoLang gc_collect_cycles

request it (76)
GoLang replacement for PHP's gc_collect_cycles [edit | history]

Do you know a GoLang replacement for PHP's gc_collect_cycles? Write it!

PHP gc_collect_cycles

PHP original manual for gc_collect_cycles [ show | php.net ]


(PHP 5 >= 5.3.0, PHP 7)

gc_collect_cyclesForces collection of any existing garbage cycles


int gc_collect_cycles ( void )

Forces collection of any existing garbage cycles.


This function has no parameters.

Return Values

Returns number of collected cycles.