Re: get_magic_quotes_* != deprecated?
| From: | Peter Cowburn | Date: | Fri, 02 Mar 2012 09:36:35 +0000 |
| Subject: | Re: get_magic_quotes_* != deprecated? | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-58465@lists.php.net to get a copy of this message | ||
On 2 March 2012 01:56, Philip Olson <philip@roshambo.org> 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.
>
They were, for a short time, marked as deprecated in the source. Bug
#55371 was raised and they were changed back to not being deprecated. So
going by the source and surrounding bugs and discussions, they're not
deprecated.
>
> I propose that we do not describe get_magic_quotes_* as deprecated, and
> that they
> exist forever, and always return false.
>
+1
>
> Regards,
> Philip
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>