Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:35316 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 28015 invoked by uid 1010); 8 Feb 2008 05:32:27 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 28000 invoked from network); 8 Feb 2008 05:32:27 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Feb 2008 05:32:27 -0000 Authentication-Results: pb1.pair.com smtp.mail=larry@garfieldtech.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=larry@garfieldtech.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain garfieldtech.com from 76.96.62.64 cause and error) X-PHP-List-Original-Sender: larry@garfieldtech.com X-Host-Fingerprint: 76.96.62.64 qmta07.westchester.pa.mail.comcast.net Received: from [76.96.62.64] ([76.96.62.64:51412] helo=QMTA07.westchester.pa.mail.comcast.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 54/B6-16023-A69EBA74 for ; Fri, 08 Feb 2008 00:32:26 -0500 Received: from OMTA04.westchester.pa.mail.comcast.net ([76.96.62.35]) by QMTA07.westchester.pa.mail.comcast.net with comcast id mpbw1Y00B0ldTLk5709d00; Fri, 08 Feb 2008 05:32:15 +0000 Received: from earth.ufp ([71.194.142.103]) by OMTA04.westchester.pa.mail.comcast.net with comcast id mtYP1Y0092E3ZeF3Q00000; Fri, 08 Feb 2008 05:32:24 +0000 X-Authority-Analysis: v=1.0 c=1 a=ylbzn35io1kA:10 a=huFZueUavyBtQ4L4nrkA:9 a=rVPYXah9BZqCCn-tgAkA:7 a=DDo7E_WTV7bKFvA4SKqfBEal42gA:4 a=be8We5Bo7aEA:10 a=FHBbIDN7CdwA:10 a=LY0hPdMaydYA:10 Received: from localhost (localhost [127.0.0.1]) by earth.ufp (Postfix) with ESMTP id 5CB3DD8372 for ; Thu, 7 Feb 2008 23:32:23 -0600 (CST) Received: from earth.ufp ([127.0.0.1]) by localhost (earth.ufp [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6wGyjkk8KyX9 for ; Thu, 7 Feb 2008 23:32:23 -0600 (CST) Received: from vulcan.hsd01.il.hsd1.il.comcast.net (unknown [192.168.42.142]) by earth.ufp (Postfix) with ESMTP id 02BA4D7A4E for ; Thu, 7 Feb 2008 23:32:02 -0600 (CST) To: internals@lists.php.net Date: Thu, 7 Feb 2008 23:32:01 -0600 User-Agent: KMail/1.9.6 (enterprise 0.20070907.709405) References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-ID: <200802072332.01301.larry@garfieldtech.com> Subject: Re: [PHP-DEV] get_magic_quotes_gpc, get-magic-quotes-runtime in head, get a "final" decision From: larry@garfieldtech.com (Larry Garfield) On Thursday 07 February 2008, Lukas Kahwe Smith wrote: > On 07.02.2008, at 00:59, Pierre Joye wrote: > > Hi Andi, > > > > On Feb 7, 2008 12:56 AM, Andi Gutmans wrote: > >> -1 > >> > >> Suggestion to enhance the suggestion: return false + emit E_STRICT > >> message (but I am also fine with pure return false if people don't > >> like > >> this suggestion). > > > > Sounds reasonable too. It would be nice to add a deprecate notice in > > 5.3.x as well. > > Yeah, note that we sort of agreed to split off an E_DEPRECATED from > E_STRICT in PHP 5.3. > > regards, > Lukas But in PHP 5.x, a well-written program should still be checking for magic quotes so that it can undo the damage they cause if necessary. Not all programs can control their environment, so checking those functions is basically required if you want to run on a server over which you don't have absolute control. I wouldn't say that's deprecated or a strict-violation. So I guess I'm -1: Restore them, always return false, and throw E_DEPRECATED. -- Larry Garfield AIM: LOLG42 larry@garfieldtech.com ICQ: 6817012 "If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called an idea, which an individual may exclusively possess as long as he keeps it to himself; but the moment it is divulged, it forces itself into the possession of every one, and the receiver cannot dispossess himself of it." -- Thomas Jefferson