Remove vars from memory?
| From: | \[cz\]Emo | Date: | Fri, 05 Sep 2003 16:38:28 +0000 |
| Subject: | Remove vars from memory? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-161779@lists.php.net to get a copy of this message | ||
Hi all.
Will PHP remove variables from memory when script will NOT use them in rest
of code?
for example:
<?php
$tmp=true;
if ($tmp) // here is $tmp used last time, will it be removed from memory?
...
... // $tmp is NOT in the rest of code
...
...
?>
or I must use allways unset()?
Thanx
Emo