Date: 02/05/03
- Next message: Jesus M. Castagnetto: "Re: [PHP-DOC] cvs: phpdoc /en/reference/sockets/functions socket-recv.xml"
- Previous message: Maxim Maletsky: "Re: [PHP-DOC] Proto: |"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 22068
Updated by: nicos <email protected>
Reported By: AchimWinkelmann <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] derick <email protected>
Documentation problem
------------------------------------------------------------------------
[2003-02-05 05:23:57] AchimWinkelmann <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
- Next message: Jesus M. Castagnetto: "Re: [PHP-DOC] cvs: phpdoc /en/reference/sockets/functions socket-recv.xml"
- Previous message: Maxim Maletsky: "Re: [PHP-DOC] Proto: |"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

