Re: get_magic_quotes_gpc, get-magic-quotes-runtime in head, get a "final" decision
| From: | Sam Barrow | Date: | Fri, 08 Feb 2008 13:31:50 +0000 |
| Subject: | Re: get_magic_quotes_gpc, get-magic-quotes-runtime in head, get a "final" decision | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-35325@lists.php.net to get a copy of this message | ||
On Fri, 2008-02-08 at 13:48 +0100, Pierre Joye wrote:
> On Feb 8, 2008 1:26 PM, Tomas Kuliavas <tokul@users.sourceforge.net> wrote:
> > >> So I guess I'm -1: Restore them, always return false, and throw
> > >> E_DEPRECATED.
> > >
> > > But this was about them being in PHP 6, not PHP 5..
> > > If magic_quotes_* is gone, so should anything else even remotely related
> > > to them be gone. You have to fix your code anyway for it to work in PHP
> > > 6 (or even 5) without magic_crap..
> >
> > Code works without magic crap. Function is used to detect when data must
> > be uncrapped.
>
> It does not need to be "uncrapped" in php6, the magic quotes are GONE,
> they do not exist anymore.
>
> The only point to keep them is to let developers be lazy by not adding
> a php version check (or function_exists).
>
> Anyway, enough people has voiced their wishes. I will count the votes
> and post the summary on Monday (== you still have two days to vote, if
> you care).
I say throw them out. Magic quotes are easy to simulate 100%.
> Cheers,
> --
> Pierre
> http://blog.thepimp.net |
> http://www.libgd.org
>