Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:35219 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 31336 invoked by uid 1010); 6 Feb 2008 01:13:12 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 31321 invoked from network); 6 Feb 2008 01:13:12 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Feb 2008 01:13:12 -0000 Authentication-Results: pb1.pair.com smtp.mail=rasmus@lerdorf.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=rasmus@lerdorf.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lerdorf.com from 204.11.219.139 cause and error) X-PHP-List-Original-Sender: rasmus@lerdorf.com X-Host-Fingerprint: 204.11.219.139 mail.lerdorf.com Received: from [204.11.219.139] ([204.11.219.139:42037] helo=mail.lerdorf.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 55/45-25726-6A909A74 for ; Tue, 05 Feb 2008 20:13:11 -0500 Received: from trainburn-lm.corp.yahoo.com (trainburn-lm.corp.yahoo.com [207.126.233.11]) (authenticated bits=0) by mail.lerdorf.com (8.14.2/8.14.2/Debian-2) with ESMTP id m161D5g8017642 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 5 Feb 2008 17:13:06 -0800 Message-ID: <47A909A1.9050201@lerdorf.com> Date: Tue, 05 Feb 2008 17:13:05 -0800 User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: Daniel Brown CC: PHP internals References: In-Reply-To: X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.92/5702/Tue Feb 5 16:46:53 2008 on colo.lerdorf.com X-Virus-Status: Clean Subject: Re: [PHP-DEV] get_magic_quotes_gpc, get-magic-quotes-runtime in head, get a "final" decision From: rasmus@lerdorf.com (Rasmus Lerdorf) Daniel Brown wrote: > On Feb 5, 2008 3:26 PM, Daniel Brown wrote: >> On Feb 5, 2008 3:23 PM, Pierre Joye wrote: >>> Hi, >>> >>> It seems that there is voices in favor of keeping the GPC related >>> functions in HEAD/php6 but returning always FALSE. >> Personally.... >> >> XX > > VOTE CHANGED > > -1 > > After a quick off-list discussion with Hannes (gotta' love Gmail > chat), I realized that I forgot to consider backwards-compatibility. I think a lot of people miss the point of these particular functions. This isn't about whether to keep magic quotes or not, it is whether to keep the function that tells you whether magic quote mangling is enabled. There is a lot of code out there that checks to see if this feature is on, and deals with that case. Having this function that simply tells the code to take the other path will allow it to work. This is not about restoring the magic quotes feature at all. -Rasmus