Bug #17435: unset() of the globalized variable
| From: | ivun at mail dot ru | Date: | Sun, 26 May 2002 17:21:42 +0000 |
| Subject: | Bug #17435: unset() of the globalized variable | ||
| Groups: | php.bugs php.doc | ||
| Request: | Send a blank email to php-bugs+get-8585@lists.php.net to get a copy of this message | ||
From: ivun@mail.ru
Operating system: Linux/Windows
PHP version: 4.2.0
PHP Bug Type: Documentation problem
Bug description: unset() of the globalized variable
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 bug report at http://bugs.php.net/?id=17435&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=17435&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=17435&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=17435&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=17435&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17435&r=support
Expected behavior: http://bugs.php.net/fix.php?id=17435&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=17435&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=17435&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=17435&r=globals