Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:44314 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 68714 invoked from network); 16 Jun 2009 18:05:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Jun 2009 18:05:08 -0000 Authentication-Results: pb1.pair.com smtp.mail=zeev@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=zeev@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.185 as permitted sender) X-PHP-List-Original-Sender: zeev@zend.com X-Host-Fingerprint: 212.25.124.185 il-mr1.zend.com Received: from [212.25.124.185] ([212.25.124.185:54892] helo=il-mr1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8C/ED-31180-0DED73A4 for ; Tue, 16 Jun 2009 14:05:06 -0400 Received: from il-gw1.zend.com (unknown [10.1.1.21]) by il-mr1.zend.com (Postfix) with ESMTP id 4899D5034E; Tue, 16 Jun 2009 22:45:58 +0300 (IDT) Received: from lap-zeev.zend.com ([10.1.11.100]) by il-gw1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 16 Jun 2009 21:05:26 +0300 Message-ID: <7.0.1.0.2.20090616210350.0e9ced18@zend.com> X-Mailer: QUALCOMM Windows Eudora Version 7.0.1.0 Date: Tue, 16 Jun 2009 21:05:12 +0300 To: Daniel Convissor Cc: PHP Internals List In-Reply-To: <20090616140033.GA27274@panix.com> 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> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-OriginalArrivalTime: 16 Jun 2009 18:05:26.0928 (UTC) FILETIME=[06E65100:01C9EEAD] Subject: Re: [PHP-DEV] set_magic_quotes_runtime is still E_DEPRECATED From: zeev@zend.com (Zeev Suraski) At 17:00 16/06/2009, 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. Why not keep this function then? We can remove the implementation, for now - emit E_DEPRECATED in case of true and nothing in case of false; For 6 - emit an error for true and nothing for false. It just looks compatibility breakage for no good reason. Zeev