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 this is not your bug, you can add a comment by following this link.
If this is your bug, but 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

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 09:01:29 2024 UTC