unsetting global variables from an function
| From: | Enrico Weigelt | Date: | Thu, 28 Feb 2002 07:44:37 +0000 |
| Subject: | unsetting global variables from an function | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-86547@lists.php.net to get a copy of this message | ||
hi folks,
is there a way for unsetting an global variable from an function ?
global $var; unset ( $var );
does not work since, unset only removes the reference in from
local namespace. but i need to remove it from the global one.
any chance to do it ?
~-n
--
Enrico Weigelt == meTUX IT services
software development, IT service, internet security solutions
www: http://www.metux.de/ phone: +49 36207 519931
email: contact@metux.de cellphone: +49 174 7066481