Re: get_magic_quotes_gpc() throws deprecated warning in 5.4
| From: | David Zülke | Date: | Sat, 12 Nov 2011 11:21:37 +0000 |
| Subject: | Re: get_magic_quotes_gpc() throws deprecated warning in 5.4 | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-56301@lists.php.net to get a copy of this message | ||
Had a few other tests failing, updated those accordingly and attached a newer version.
David
On 12.11.2011, at 12:06, David Zülke wrote:
> I looked through the mailing list archives, and in several threads the consensus seemed to be
> that the setters should throw a warning, but the getters should not...
>
>> localhost:test dzuelke$ ~/Code/oss/php/php-5.4.0RC1/sapi/cli/php -v
>> PHP 5.4.0RC1 (cli) (built: Nov 11 2011 19:53:40)
>> Copyright (c) 1997-2011 The PHP Group
>> Zend Engine v2.4.0, Copyright (c) 1998-2011 Zend Technologies
>> localhost:test dzuelke$ ~/Code/oss/php/php-5.4.0RC1/sapi/cli/php -r
>> 'get_magic_quotes_gpc();'
>> PHP Deprecated: Function get_magic_quotes_gpc() is deprecated in Command line code on line
>> 1
>
> Bug report is up at https://bugs.php.net/bug.php?id=55371,
> I've attached a patch to the ticket and this email that fixes the problem, test included.
>
> - David
>
>
>
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php