#47857 [Opn->Bgs]: Deprecated set_magic_quotes_runtime

From: Date: Mon, 04 May 2009 15:13:51 +0000
Subject: #47857 [Opn->Bgs]: Deprecated set_magic_quotes_runtime
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-136745@lists.php.net to get a copy of this message
 ID:          47857
 Updated by:  pajoye@php.net
 Reported By: david at grudl dot com
-Status:      Open
+Status:      Bogus
 Bug Type:    Feature/Change Request
 PHP Version: 5.3CVS-2009-04-01 (CVS)
 New Comment:

It is done at the function declaration level (if I can say so :).


Previous Comments:
------------------------------------------------------------------------

[2009-04-01 06:19:01] david at grudl dot com

Description:
------------
In PHP 5.3 this code throws E_DEPRECATED warning:

   set_magic_quotes_runtime(FALSE);

I think if is directive magic_quotes_runtime (finally!) marked as
deprecated, a code used to disable it should not throws warning.
E_DEPRECATED should throws only this code:

   set_magic_quotes_runtime(TRUE);

Or is there any way to disable magic_quotes_runtime without any
warning?



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=47857&edit=1



Thread (2 messages)

« previous php.bugs (#136745) next »