#23365 [NEW]: global twice causes problems
| From: | spagmoid at yahoo dot com | Date: | Sat, 26 Apr 2003 20:35:04 +0000 |
| Subject: | #23365 [NEW]: global twice causes problems | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-38468@lists.php.net to get a copy of this message | ||
From: spagmoid at yahoo dot com
Operating system: WinXP
PHP version: 4.3.1
PHP Bug Type: *General Issues
Bug description: global twice causes problems
If you declare a variable global twice, it gives you garbage the second
time. IE:
global $Bob;
global $Bob;
This was already reported, and sniper shot it down. That's what he does
apparently, shoots down valid bugs in the goal of keeping PHP as buggy as
possible! Maybe he works for Micro$oft?
--
Edit bug report at http://bugs.php.net/?id=23365&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=23365&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=23365&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=23365&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=23365&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=23365&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=23365&r=support
Expected behavior: http://bugs.php.net/fix.php?id=23365&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=23365&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=23365&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=23365&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23365&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=23365&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=23365&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=23365&r=gnused