Re: get_magic_quotes_* != deprecated?
| From: | Ángel González | Date: | Sat, 03 Mar 2012 14:45:00 +0000 |
| Subject: | Re: get_magic_quotes_* != deprecated? | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-58547@lists.php.net to get a copy of this message | ||
On 02/03/12 02:56, Philip Olson wrote:
> Hello!
>
> Please clarify whether or not get_magic_quotes_gpc() and get_magic_quotes_runtime()
> are deprecated, because I do not think they are. Deprecated means people should not
> use them while writing new code, but they are perfectly sensible functions.
>
> I propose that we do not describe get_magic_quotes_* as deprecated, and that they
> exist forever, and always return false.
>
> Regards,
> Philip
They are not. magic quotes are deprecated, get_magic_quotes will just
return false
which is what was agreed (there was a bug in the beta making them throw
deprecation
notices, but they were wrong).