note 8349 added to unset
| From: | jon+php-dev at unequivocal dot co dot uk | Date: | Thu, 07 Sep 2000 12:03:46 +0000 |
| Subject: | note 8349 added to unset | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-4311@lists.php.net to get a copy of this message | ||
Beware! If you are in a function and the variable is a global you are accessing using
'global', then unset does not work. It simply un-globalises the variable, instead of
unsetting the global. This changed between PHP3 and PHP4.
http://uk.php.net/manual/function.unset.php