Re: get_magic_quotes_gpc, get-magic-quotes-runtime in head, get a "final" decision
| From: | David Zülke | Date: | Wed, 27 Feb 2008 16:19:22 +0000 |
| Subject: | Re: get_magic_quotes_gpc, get-magic-quotes-runtime in head, get a "final" decision | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-35823@lists.php.net to get a copy of this message | ||
Am 27.02.2008 um 17:03 schrieb Pierre Joye:
Hi David, On Wed, Feb 27, 2008 at 4:52 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. 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. DavidGuys, 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.