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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
41 - 24 = ?
Subscribe to this entry?

 
 [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-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 10:01:29 2024 UTC