Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:44313 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 60916 invoked from network); 16 Jun 2009 17:40:03 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Jun 2009 17:40:03 -0000 Authentication-Results: pb1.pair.com header.from=greg@chiaraquartet.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=greg@chiaraquartet.net; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain chiaraquartet.net from 209.85.222.204 cause and error) X-PHP-List-Original-Sender: greg@chiaraquartet.net X-Host-Fingerprint: 209.85.222.204 mail-pz0-f204.google.com Received: from [209.85.222.204] ([209.85.222.204:39471] helo=mail-pz0-f204.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 40/4C-31180-3F8D73A4 for ; Tue, 16 Jun 2009 13:40:03 -0400 Received: by pzk42 with SMTP id 42so3727685pzk.29 for ; Tue, 16 Jun 2009 10:40:00 -0700 (PDT) Received: by 10.114.182.15 with SMTP id e15mr14025814waf.148.1245174000110; Tue, 16 Jun 2009 10:40:00 -0700 (PDT) Received: from monster.local ([76.84.30.125]) by mx.google.com with ESMTPS id j26sm8739702waf.63.2009.06.16.10.39.58 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 16 Jun 2009 10:39:59 -0700 (PDT) Message-ID: <4A37D8ED.3080308@chiaraquartet.net> Date: Tue, 16 Jun 2009 12:39:57 -0500 User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070807) MIME-Version: 1.0 To: Lukas Kahwe Smith CC: PHP Internals List 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> In-Reply-To: <20090616140033.GA27274@panix.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] set_magic_quotes_runtime is still E_DEPRECATED From: greg@chiaraquartet.net (Greg Beaver) 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. Greg