gc_collect_cycles

(PHP 5 >= 5.3.0, PHP 7, PHP 8)

gc_collect_cyclesForces collection of any existing garbage cycles

Description

gc_collect_cycles(): int

Forces collection of any existing garbage cycles.

Parameters

This function has no parameters.

Return Values

Returns number of collected cycles.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top