Answer the question
In order to leave comments, you need to log in
PHP unset function?
Good day to all! Digging into the legacy, I noticed that the unset function is often used there to delete arrays or objects, if this function is absent or present, the result does not have any effect, which means that unset is used to clear memory. But why?!?? Why not leave this job to the garbage collector?!??
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question