#20533 [Opn->Bgs]: problem unsetting variables by deref
| From: | derick@php.net | Date: | Thu, 21 Nov 2002 06:42:01 +0000 |
| Subject: | #20533 [Opn->Bgs]: problem unsetting variables by deref | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-25381@lists.php.net to get a copy of this message | ||
ID: 20533
Updated by: derick@php.net
Reported By: sputnik@reflexx.net
-Status: Open
+Status: Bogus
Bug Type: Variables related
Operating System: FreeBSD 4.6
PHP Version: 4.2.3
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
Previous Comments:
------------------------------------------------------------------------
[2002-11-20 23:42:40] sputnik@reflexx.net
pKillVar is defined as a global elsewhere in the script.
Its value is "pendingScope".
global $pKillVar;
$delete_me = $pKillVar;
global $$delete_me;
unset($$delete_me);
does NOT work. however:
$delete_me = "somevar";
global $$delete_me;
unset($$delete_me);
does. Seems to be a problem unsetting variables in the global scope.
Have been having numerous problems related to such.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20533&edit=1