#20549 [WFx->]: register_global and scoping vars
| From: | derick@php.net | Date: | Fri, 22 Nov 2002 16:51:08 +0000 |
| Subject: | #20549 [WFx->]: register_global and scoping vars | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-25576@lists.php.net to get a copy of this message | ||
ID: 20549
Updated by: derick@php.net
Reported By: somekool@mytradecenter.com
Status: Won\'t fix
Bug Type: Feature/Change Request
Operating System: Slackware Linux
PHP Version: 4.2.2
New Comment:
Meaning to say that it will most likely not be removed; atleast not
before hell freezes.
Derick
Previous Comments:
------------------------------------------------------------------------
[2002-11-22 10:50:03] derick@php.net
no, most likely not.
Derick
------------------------------------------------------------------------
[2002-11-22 10:26:01] iliaa@php.net
register_globals ini setting will probably be avaliable for a long time
to come.
------------------------------------------------------------------------
[2002-11-22 10:19:53] somekool@mytradecenter.com
but it was already possible to do it.
i dont know which version i used, but it worked fine.
i think this could be customizable. again, even if PHP is secure by
default, user could prefer to handle risk on their own.
another little question, do you plan to remove register_globals option
availability in future version ? if yes, we will start update our code
now. i hope not.
thanks
------------------------------------------------------------------------
[2002-11-22 05:35:30] derick@php.net
That is not going to happen.
------------------------------------------------------------------------
[2002-11-21 22:09:43] somekool@mytradecenter.com
yes i enabled register_globals
but i would like my variables to be really global and usable in every
scope, even in user defined function
function foo()
{
echo $varX;
}
without specifying "global $varX;"
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/20549
--
Edit this bug report at http://bugs.php.net/?id=20549&edit=1