ID: 22068 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: Documentation problem Operating System: Windows XP PHP Version: 4.3.0 New Comment:
The documentation is clear enough to me (us). Using the global keyword on any $_* shouldn't create a new variable. If it does, this is not a documentation bug. I verified with PHP4.3 and 5.0 (ZE2), it doesn't. Not a bug -> Bogus. Feel free to post a new bug if you feel we are wrong. Previous Comments: ------------------------------------------------------------------------ [2003-02-05 05:24:57] [EMAIL PROTECTED] Documentation problem ------------------------------------------------------------------------ [2003-02-05 05:23:57] [EMAIL PROTECTED] The manual says at topic XCIII. SESSION HANDLING FUNCTIONS under headline EXAMPLES within the NOTE, 'you do not need to use the global keyword for $_SESSION'. In fact you 'may not use the global keyword' when accessing $_SESSION from within a function, otherwise a different global variable seems to be created/accessed (PHP 4.3.0, WinXP)! Maybe it is no bug, but I miss any sematically sense. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=22068&edit=1 -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php