How important is it to unset variables in PHP?
- by dd0x
I am somewhat new to PHP and I am wondering: How important is it to unset variables in PHP? I know in languages like C we free the allocated memory to prevent leaks, etc. By using unset on variables when I am done with them, will this significantly increase performance of my applications?
Also is there a benchmark anywhere that compares difference between using unset and not using unset?