Bug #17435 Updated: unset() of the globalized variable
| From: | ivun at mail dot ru | Date: | Sun, 26 May 2002 17:34:55 +0000 |
| Subject: | Bug #17435 Updated: unset() of the globalized variable | ||
| References: | 1 | Groups: | php.bugs php.doc |
| Request: | Send a blank email to php-bugs+get-8590@lists.php.net to get a copy of this message | ||
ID: 17435
Updated by: ivun@mail.ru
Reported By: ivun@mail.ru
Status: Bogus
Bug Type: Documentation problem
Operating System: Linux/Windows
PHP Version: 4.2.0
New Comment:
Are you completely sure? But why are the globalized variables destroyed
in my scripts?
Ps. Another bug is handling ' and \ in Bug Report system :)
Previous Comments:
------------------------------------------------------------------------
[2002-05-26 13:23:20] derick@php.net
Sorry, but the bug system is not the appropriate forum for asking
support questions. Your problem does not imply a bug in PHP itself.
For a list of more appropriate places to ask for help using PHP,
please visit http://www.php.net/support.php
Thank you for your interest in PHP.
unset()\'s documentation is perfectly right on this point.
------------------------------------------------------------------------
[2002-05-26 13:21:42] ivun@mail.ru
The article about unset() says: "If a globalized variable is unset()
inside of a function, only the local variable is destroyed. The
variable in the calling environment will retain the same value as
before unset() was called." It is != true!
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=17435&edit=1