Re: Deprecating "global" + $GLOBALS, making $_REQUEST, $_GET, $_POST read-only
| From: | Andrey Hristov | Date: | Thu, 09 Dec 2010 17:06:41 +0000 |
| Subject: | Re: Deprecating "global" + $GLOBALS, making $_REQUEST, $_GET, $_POST read-only | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-50967@lists.php.net to get a copy of this message | ||
Pierre Joye wrote:
On Thu, Dec 9, 2010 at 5:55 PM, Andrey Hristov <php@hristov.com> wrote:Please point me to a shop in Europe where I can buy a gun without any restrictions. I might get myself shot in the feet while I clean the gun, but who cares, or might shoot someone accidentally. AndreyIf 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,