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 not known at the point where unset() is done.

ask myself, answer myself :)

$var1=array() did the trick.


Rgds,
  Tfr

  --==< [EMAIL PROTECTED] >==< http://tfr.cafe.ee/ >==< +372-50-17621 >==--  

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to