Re: get_magic_quotes_gpc, get-magic-quotes-runtime in head, get a "final" decision
| From: | Pierre Joye | Date: | Wed, 27 Feb 2008 16:25:19 +0000 |
| Subject: | Re: get_magic_quotes_gpc, get-magic-quotes-runtime in head, get a "final" decision | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-35824@lists.php.net to get a copy of this message | ||
Hi David,
On Wed, Feb 27, 2008 at 5:19 PM, David Zülke <dz@bitxtender.com> wrote:
> I know, but IIRC, Andi or someone else suggested that there should be
> a warning in 5.3, but that was not discussed further.
Because adding a waring in 5.x is a no-no.
> I mean, really, what's the point? I have my check for magic quotes
> there, along with a function_exists call. Why do I need to see the
> stupid message. Removing it in PHP6 is nonsensical enough in my
> opinion, but I can live with that. Now everyone adjusted their code to
> deal with the specific situation - magic quotes will be removed in
> PHP6, and all of a sudden, there is an E_STRICT, telling us what we
> already know.
Yes, E_STRICT is wrong, it should E_DEPRECATED.
Cheers,
--
Pierre
http://blog.thepimp.net | http://www.libgd.org