note 66708 added to language.variables.scope
| From: | php-general at lists dot php dot net | Date: | Fri, 26 May 2006 14:56:26 +0000 |
| Subject: | note 66708 added to language.variables.scope | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-112337@lists.php.net to get a copy of this message | ||
When I first was writing my last comment, I was thinking that somehow there was a php bug causing
two separate global namespaces.
As I was composing the post I realized that perhaps the problem was unsetting the variable, and
removed all my references to two namespaces.
Now in reviewing some of the posts below which discuss the issue of unsetting global variables as an
issue, I think that the unsetting is the problem, and that the preferred method is not to unset them
but assign null to them.
----
Server IP: 216.194.113.175
Probable Submitter: 69.23.252.228
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/language.variables.scope.php
Edit -- http://master.php.net/note/edit/66708
Del: integrated -- http://master.php.net/note/delete/66708/integrated
Del: useless -- http://master.php.net/note/delete/66708/useless
Del: bad code -- http://master.php.net/note/delete/66708/bad+code
Del: spam -- http://master.php.net/note/delete/66708/spam
Del: non-english -- http://master.php.net/note/delete/66708/non-english
Del: in docs -- http://master.php.net/note/delete/66708/in+docs
Del: other reasons-- http://master.php.net/note/delete/66708
Reject -- http://master.php.net/note/reject/66708
Search -- http://master.php.net/manage/user-notes.php