Re: Deprecating "global" + $GLOBALS, making $_REQUEST, $_GET, $_POST read-only

From: Date: Thu, 09 Dec 2010 17:08:30 +0000
Subject: Re: Deprecating "global" + $GLOBALS, making $_REQUEST, $_GET, $_POST read-only
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.internals 
Request: Send a blank email to internals+get-50968@lists.php.net to get a copy of this message
On Thu, Dec 9, 2010 at 6:06 PM, Andrey Hristov <php@hristov.com> wrote: > Pierre Joye wrote: >> >> 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, > > 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. s,foot,knee, same idea: http://www.urbandictionary.com/define.php?term=shoot%20yourself%20in%20the%20foot -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org

« previous php.internals (#50968) next »