Re: quick PHP question on unset()

From: Date: Mon, 22 Jan 2001 21:39:39 +0000
Subject: Re: quick PHP question on unset()
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-36084@lists.php.net to get a copy of this message
try $var1 = NULL I think that will work Rom ----- Original Message ----- From: indrek siitan <tfr@cafe.ee> To: <php-general@lists.php.net> 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;) .. 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. Rgds, Tfr --==< tfr@cafe.ee >==< http://tfr.cafe.ee/ >==< +372-50-17621 >==-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#36084) next »