From: [EMAIL PROTECTED] Operating system: FreeBSD 4.6 PHP version: 4.2.3 PHP Bug Type: Variables related Bug description: problem unsetting variables by deref
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 bug report at http://bugs.php.net/?id=20533&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=20533&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=20533&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=20533&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=20533&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=20533&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=20533&r=support Expected behavior: http://bugs.php.net/fix.php?id=20533&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=20533&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=20533&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=20533&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20533&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=20533&r=dst IIS Stability: http://bugs.php.net/fix.php?id=20533&r=isapi