try $var1 = NULL
I think that will work
Rom
- Original Message -
From: indrek siitan <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 22, 2001 4:33 PM
Subject: [PHP] quick PHP question on unset()
Hi,
i've got a $var1 that's referencing to a $var2 ($var1=&$var2;) ..
Hi,
> i've got a $var1 that's referencing to a $var2 ($var1=&$var2;) ..
>
> now, when i do unset($var1) it just unlinks the reference, instead
> of "clearing" both variables (arrays) like i would want it to do..
>
> any ideas how to get around that? as a bonus, the actual name of
> $var2 is no
2 matches
Mail list logo