Re: magic quotes finale
| From: | Hannes Magnusson | Date: | Fri, 23 May 2008 06:49:00 +0000 |
| Subject: | Re: magic quotes finale | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-37818@lists.php.net to get a copy of this message | ||
On Fri, May 23, 2008 at 12:09 AM, Lars Strojny <lars@strojny.net> wrote:
> Why should we leave get_magic_quotes_gpc()? If someone wants to be
> backwards compatible, just use
Excuse me? The users should change their code to be forward compatible?
We should ofcourse make it easier for our users and keep backwards
compatibility.
> if (function_exists('get_magic_quotes_gpc') and @get_magic_quotes_gpc())
> Let's just add this to the manual, and everything is fine.
So you do indeed want to punish the developers who followed the manual
and deployed best practices?
Don't be such a jerk. The people who did in fact follow best practices
and checked if MQ are on/off and dealt with it should *NOT* be
punished for it.
-Hannes