Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:35823 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 45526 invoked by uid 1010); 27 Feb 2008 16:19:26 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 45508 invoked from network); 27 Feb 2008 16:19:26 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Feb 2008 16:19:26 -0000 Authentication-Results: pb1.pair.com header.from=dz@bitxtender.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=dz@bitxtender.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain bitxtender.com from 80.237.132.12 cause and error) X-PHP-List-Original-Sender: dz@bitxtender.com X-Host-Fingerprint: 80.237.132.12 wp005.webpack.hosteurope.de Received: from [80.237.132.12] ([80.237.132.12:44208] helo=wp005.webpack.hosteurope.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 56/FC-10897-D8D85C74 for ; Wed, 27 Feb 2008 11:19:26 -0500 Received: from dslb-084-056-036-107.pools.arcor-ip.net ([84.56.36.107] helo=[192.168.0.102]); authenticated by wp005.webpack.hosteurope.de running ExIM using esmtpsa (TLSv1:RC4-SHA:128) id 1JUP07-0003RA-62; Wed, 27 Feb 2008 17:19:23 +0100 Cc: "PHP internals" Message-ID: <45F550A9-0AB5-4353-9403-D5F955F6C8C5@bitxtender.com> To: "Pierre Joye" In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v919.2) Date: Wed, 27 Feb 2008 17:19:22 +0100 References: <6305577C-1285-4DBE-9797-CDDE63ECF30A@bitxtender.com> X-Mailer: Apple Mail (2.919.2) X-bounce-key: webpack.hosteurope.de;dz@bitxtender.com;1204129166;5592986b; Subject: Re: [PHP-DEV] get_magic_quotes_gpc, get-magic-quotes-runtime in head, get a "final" decision From: dz@bitxtender.com (=?ISO-8859-1?Q?David_Z=FClke?=) Am 27.02.2008 um 17:03 schrieb Pierre Joye: > Hi David, > > On Wed, Feb 27, 2008 at 4:52 PM, David Z=FClke =20 > wrote: >> Guys, >> >> what's the verdict on this one? Right now, many already have >> >> >> if(function_exists('get_magic_quotes_gpc') && get_magic_quotes_gpc()) >> >> in their code. >> Now with the latest 5.3, that throws an E_STRICT! > > This discussion was about HEAD (php6). But if any, 5.3 should raise a > E_DEPRECATED. I know, but IIRC, Andi or someone else suggested that there should be =20= a warning in 5.3, but that was not discussed further. I mean, really, what's the point? I have my check for magic quotes =20 there, along with a function_exists call. Why do I need to see the =20 stupid message. Removing it in PHP6 is nonsensical enough in my =20 opinion, but I can live with that. Now everyone adjusted their code to =20= deal with the specific situation - magic quotes will be removed in =20 PHP6, and all of a sudden, there is an E_STRICT, telling us what we =20 already know. David