php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #47857 Deprecated set_magic_quotes_runtime
Submitted: 2009-04-01 06:19 UTC Modified: 2009-05-04 15:13 UTC
From: david at grudl dot com Assigned:
Status: Not a bug Package: Feature/Change Request
PHP Version: 5.3CVS-2009-04-01 (CVS) OS:
Private report: No CVE-ID: None
 [2009-04-01 06:19 UTC] 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?


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-05-04 15:13 UTC] pajoye@php.net
It is done at the function declaration level (if I can say so :).
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sat May 25 01:01:26 2019 UTC