On Tue, Jun 16, 2009 at 12:33 PM, Hannes Magnusson<hannes.magnus...@gmail.com> wrote:
>> Because in PHP 6 (or next) the function "set_magic_quotes_runtime()" will be >> removed, so calling it without checking ini_get() will trigger a fatal >> error, no ? > > And there is the problem. > The recommended way is: > if(get_magic_quotes_runtime()) { > set_magic_quotes_runtime(false); > } > > So, if MQ runtime is enabled - even "Doing The Right Thing" (turning > it off) will throw deprecated warnings. And as get_magic_quotes_runtime() always returns FALSE, set_magic_quotes_runtime(false) will never be called. Cheers, -- Pierre http://blog.thepimp.net | http://www.libgd.org -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php