Problem Statement
What does PHP’s garbage collector do?
Explanation
PHP’s garbage collector automatically frees memory by removing objects and variables that are no longer referenced, improving efficiency.
Code Solution
SolutionRead Only
gc_collect_cycles();
