PHP 4.0 Bug #5884 Updated: Not able to unset($var) set as global in function
| From: | Bug Database | Date: | Mon, 31 Jul 2000 22:11:13 +0000 |
| Subject: | PHP 4.0 Bug #5884 Updated: Not able to unset($var) set as global in function | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-27132@lists.php.net to get a copy of this message | ||
ID: 5884
Updated by: waldschrott
Reported By: php42@hotmail.com
Status: Closed
Bug Type: Other
Assigned To:
Comments:
taken from the php.net site:
"unset() now breaks the association between a locally scoped variable and one that is globally
scoped if the reference is made using the "global" keyword."
I´ll not recommend you to touch the $GLOBALS array directly ;)
Full Bug description available at: http://bugs.php.net/?id=5884