Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:44316 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 90214 invoked from network); 16 Jun 2009 18:49:28 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Jun 2009 18:49:28 -0000 Authentication-Results: pb1.pair.com smtp.mail=mls@pooteeweet.org; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=mls@pooteeweet.org; sender-id=unknown Received-SPF: error (pb1.pair.com: domain pooteeweet.org from 88.198.8.16 cause and error) X-PHP-List-Original-Sender: mls@pooteeweet.org X-Host-Fingerprint: 88.198.8.16 bigtime.backendmedia.com Linux 2.6 Received: from [88.198.8.16] ([88.198.8.16:32894] helo=bigtime.backendmedia.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 89/B2-31180-839E73A4 for ; Tue, 16 Jun 2009 14:49:28 -0400 Received: from localhost (unknown [127.0.0.1]) by bigtime.backendmedia.com (Postfix) with ESMTP id B91331EBC013; Tue, 16 Jun 2009 18:52:09 +0000 (UTC) X-Virus-Scanned: amavisd-new at backendmedia.com Received: from bigtime.backendmedia.com ([127.0.0.1]) by localhost (bigtime.backendmedia.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aEkEEAeOUeTZ; Tue, 16 Jun 2009 20:52:08 +0200 (CEST) Received: from [192.168.0.151] (84-72-88-166.dclient.hispeed.ch [84.72.88.166]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: mls@pooteeweet.org) by bigtime.backendmedia.com (Postfix) with ESMTP id 6AAE84144057; Tue, 16 Jun 2009 20:52:08 +0200 (CEST) Cc: PHP Internals List Message-ID: <50E0C0BF-13EC-4C31-B66D-FC0F54417227@pooteeweet.org> To: Greg Beaver In-Reply-To: <4A37D8ED.3080308@chiaraquartet.net> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v935.3) Date: Tue, 16 Jun 2009 20:49:21 +0200 References: <4A370CB2.9060602@chiaraquartet.net> <4E6F2E8C-633B-49E4-A82D-5399FD9F4069@pooteeweet.org> <7f3ed2c30906160320m4625ae89i1b85c036ba798de0@mail.gmail.com> <4A3772DD.2010604@daevel.net> <7f3ed2c30906160333s3dda0831q5a2fed430fcfbd38@mail.gmail.com> <4A3783BA.6030008@gmail.com> <20090616140033.GA27274@panix.com> <4A37D8ED.3080308@chiaraquartet.net> X-Mailer: Apple Mail (2.935.3) Subject: Re: [PHP-DEV] set_magic_quotes_runtime is still E_DEPRECATED From: mls@pooteeweet.org (Lukas Kahwe Smith) On 16.06.2009, at 19:39, Greg Beaver wrote: > Daniel Convissor wrote: >> Folks: >> >>> I propose the following behavior: "Throw a deprecated warning unless >>> magic quotes are currently enabled and the >>> parameter is to disable them". >> >> The function is going away. A deprecated warning is necessary to >> alert >> people of this fact, no matter how the function is used. > > I'm sorry, but there is a bug here. > > On my system, magic_quotes_gpc is enabled by default, and no > E_DEPRECATED warning is thrown. > > Check it out. Compile a vanilla PHP 5.3, and run php -n -i |grep > magic > > It's probably an oversight, but if it is intentional, we can't punish > people for disabling something that is enabled by default. 1) its not about "punishing", its about alerting people that they are relying on stuff that will go away 2) E_DEPRECATE is for development only and only as a check you enable now and then 3) its off in both of the php.ini's we will ship with 5.3 regards, Lukas Kahwe Smith mls@pooteeweet.org