Is it useful to unset() a variable at the end of a PHP class?

Mike G

New member
I would assume that PHP manages its memory appropriately and when compute cycles/memory demand or allow for freeing of memory, old class variables will get dumped just like unset variables.

However I could be overlooking something here and using unset() may be helpful.

Thanks
 
Back
Top