gc_status
PHP 7 >= 7.3.0, PHP 8
gc_status - Gets information about the garbage collector
Code Examples
Example #1 gc_status Usage
Result: array(4) {
["runs"]=>
int(5)
["collected"]=>
int(100002)
["threshold"]=>
int(50001)
["roots"]=>
int(0)
}