On Fri, 2003-09-05 at 09:38, [cz]Emo wrote: > 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()? > yes, you must use unset() to remove a variable, otherwise it will stay for the duration of the script.
> Thanx > > Emo -- Tyler Lane <[EMAIL PROTECTED]> Lyrical Communications
signature.asc
Description: This is a digitally signed message part