Re: set_magic_quotes_runtime is still E_DEPRECATED
| From: | Zeev Suraski | Date: | Tue, 16 Jun 2009 18:05:12 +0000 |
| Subject: | Re: set_magic_quotes_runtime is still E_DEPRECATED | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-44314@lists.php.net to get a copy of this message | ||
At 17:00 16/06/2009, Daniel Convissor wrote:
Folks: I propose the following behavior: "Throw a deprecated warning unless magic quotes are currently enabled and the parameter is to disable them". The function is going away. A deprecated warning is necessary to alert people of this fact, no matter how the function is used.Why not keep this function then? We can remove the implementation, for now - emit E_DEPRECATED in case of true and nothing in case of false; For 6 - emit an error for true and nothing for false. It just looks compatibility breakage for no good reason. Zeev