Re: Deprecating "global" + $GLOBALS, making $_REQUEST, $_GET, $_POST read-only
| From: | Pierre Joye | Date: | Thu, 09 Dec 2010 16:58:23 +0000 |
| Subject: | Re: Deprecating "global" + $GLOBALS, making $_REQUEST, $_GET, $_POST read-only | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-50962@lists.php.net to get a copy of this message | ||
On Thu, Dec 9, 2010 at 5:55 PM, Andrey Hristov <php@hristov.com> wrote:
> If all your functions take 15 params I am worried that your program design
> is flawed, sorry.
That's not an argument to do it. PHP and all other languages have many
ways to shoot yourself in the knees, but that's a reason why we should
remove everything remotely related to the trigger.
Also there are alternatives proposed as well, I would suggest to
investigate them instead of insisting on the initial idea.
Cheers,
--
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org