Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:56301 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 40245 invoked from network); 12 Nov 2011 11:21:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Nov 2011 11:21:41 -0000 Authentication-Results: pb1.pair.com header.from=david.zuelke@bitextender.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=david.zuelke@bitextender.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain bitextender.com from 80.237.132.12 cause and error) X-PHP-List-Original-Sender: david.zuelke@bitextender.com X-Host-Fingerprint: 80.237.132.12 wp005.webpack.hosteurope.de Received: from [80.237.132.12] ([80.237.132.12:35269] helo=wp005.webpack.hosteurope.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A0/45-05938-5C65EBE4 for ; Sat, 12 Nov 2011 06:21:41 -0500 Received: from dslb-092-075-019-231.pools.arcor-ip.net ([92.75.19.231] helo=[192.168.0.103]); authenticated by wp005.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) id 1RPBeT-000098-M4; Sat, 12 Nov 2011 12:21:37 +0100 Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset=iso-8859-1 In-Reply-To: <372C6494-1C4C-4E71-BFC2-D41D87A918CF@bitextender.com> Date: Sat, 12 Nov 2011 12:21:37 +0100 Cc: Pierre Joye Content-Transfer-Encoding: quoted-printable Message-ID: <7285A639-D8AF-4D18-A9B4-D3BFAAA1B8A1@bitextender.com> References: <372C6494-1C4C-4E71-BFC2-D41D87A918CF@bitextender.com> To: internals@lists.php.net X-Mailer: Apple Mail (2.1251.1) X-bounce-key: webpack.hosteurope.de;david.zuelke@bitextender.com;1321096901;f648d945; Subject: Re: [PHP-DEV] get_magic_quotes_gpc() throws deprecated warning in 5.4 From: david.zuelke@bitextender.com (=?iso-8859-1?Q?David_Z=FClke?=) Had a few other tests failing, updated those accordingly and attached a = newer version. David On 12.11.2011, at 12:06, David Z=FClke 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... >=20 >> 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)=20 >> 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 >=20 > Bug report is up at https://bugs.php.net/bug.php?id=3D55371, I've = attached a patch to the ticket and this email that fixes the problem, = test included. >=20 > - David >=20 >=20 >=20 >=20 > --=20 > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php