On 16.06.2009, at 19:39, Greg Beaver wrote:

Daniel Convissor wrote:
Folks:

I propose the following behavior: "Throw a deprecated warning unless
magic quotes are currently enabled and the
parameter is to disable them".

The function is going away. A deprecated warning is necessary to alert
people of this fact, no matter how the function is used.

I'm sorry, but there is a bug here.

On my system, magic_quotes_gpc is enabled by default, and no
E_DEPRECATED warning is thrown.

Check it out. Compile a vanilla PHP 5.3, and run php -n -i |grep magic

It's probably an oversight, but if it is intentional, we can't punish
people for disabling something that is enabled by default.


1) its not about "punishing", its about alerting people that they are relying on stuff that will go away 2) E_DEPRECATE is for development only and only as a check you enable now and then
3) its off in both of the php.ini's we will ship with 5.3

regards,
Lukas Kahwe Smith
m...@pooteeweet.org




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

Reply via email to