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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: david at grudl dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Tue Apr 22 15:01:29 2025 UTC