Am 27.02.2008 um 17:03 schrieb Pierre Joye:

Hi David,

On Wed, Feb 27, 2008 at 4:52 PM, David Zülke <[EMAIL PROTECTED]> wrote:
Guys,

what's the verdict on this one? Right now, many already have


if(function_exists('get_magic_quotes_gpc') && get_magic_quotes_gpc())

in their code.
Now with the latest 5.3, that throws an E_STRICT!

This discussion was about HEAD (php6). But if any, 5.3 should raise a
E_DEPRECATED.

I know, but IIRC, Andi or someone else suggested that there should be a warning in 5.3, but that was not discussed further.

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.

David

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to