Re: Deprecating "global" + $GLOBALS, making $_REQUEST, $_GET, $_POST read-only
| From: | Andrey Hristov | Date: | Thu, 09 Dec 2010 16:19:31 +0000 |
| Subject: | Re: Deprecating "global" + $GLOBALS, making $_REQUEST, $_GET, $_POST read-only | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-50954@lists.php.net to get a copy of this message | ||
Reindl Harald wrote:
Am 09.12.2010 13:46, schrieb Andrey Hristov:one day you might have to support globalized applications and I am sure you will feel very enlightened to fix them :) AndreyThere were many apps which relied on register_globals but register_globals was introduced. There were many apps which relied on references in PHP4, but the object model changed in 5, references too. There are apps which rely on magic_quotes, but magic quotes are deprecated. When some feature is changed or deprecated there will always be applications that need to change.that is not a valid reason for bc-breaking if you do not want $GLOBALS in your functions do not use them but do not force bc-breaks which are hurting others without any sense