Re: Global variable unset in function
| From: | Stanislav Malyshev | Date: | Thu, 01 Jun 2000 09:23:30 +0000 |
| Subject: | Re: Global variable unset in function | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-19941@lists.php.net to get a copy of this message | ||
JH>> Has anyone seen a work around to this Bug 3647. We have the
JH>> problem as well where we can't unset a global within a function.
JH>> It is removed from the local scope but not the global.
True, this is how it works. Use unset($GLOBALS["var"]) if you need to
unset real global.
--
Stanislav Malyshev stas@zend.com
+972-3-6139665