Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:64009 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 14649 invoked from network); 21 Nov 2012 05:58:15 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Nov 2012 05:58:15 -0000 Authentication-Results: pb1.pair.com header.from=davidkmuir@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=davidkmuir@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.160.42 as permitted sender) X-PHP-List-Original-Sender: davidkmuir@gmail.com X-Host-Fingerprint: 209.85.160.42 mail-pb0-f42.google.com Received: from [209.85.160.42] ([209.85.160.42:59691] helo=mail-pb0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A3/24-20662-67D6CA05 for ; Wed, 21 Nov 2012 00:58:15 -0500 Received: by mail-pb0-f42.google.com with SMTP id rp2so4733629pbb.29 for ; Tue, 20 Nov 2012 21:58:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=D3tcDB7MSYi9oD1mF73qZEQS/IBQI5B9e7dT3PRzcPw=; b=K5hpELzlU6/2tF7erV7sHUm+MlV3rRGO6fp1axC2b8HUhelPd+nr+CSN6oZjAlcuag 81ocIsBHfA8X+MJ3hU4Vmtfss2iTczjGFXCIlBZrOq2F4BhTKVXgXLJ5MBu2kUL5EoEo T9l5VV4BMvpotwbiDfnnl7sjoHYQRfgzsnpRKk8dz46RU+/dSrTJyDYTlG3HYYOuYjrh 35rZCRH25ux9RhWALuD5JqBH8cjMyOwAFcRAQrmgXbT/Ys2Q8QLBp0uoZszAc+Dw84f/ JbHsS2YftFm08VD9VcCQohqdDpvtvJbfsaZLGqjXO1ezXak0uYzdsIUO8EKgHv5TorLO Yn4g== Received: by 10.69.1.37 with SMTP id bd5mr56326197pbd.77.1353477491749; Tue, 20 Nov 2012 21:58:11 -0800 (PST) Received: from [192.168.1.181] (tmwpho1.lnk.telstra.net. [110.142.207.74]) by mx.google.com with ESMTPS id iu8sm9328331pbc.71.2012.11.20.21.58.09 (version=SSLv3 cipher=OTHER); Tue, 20 Nov 2012 21:58:11 -0800 (PST) Message-ID: <50AC6D70.3080303@gmail.com> Date: Wed, 21 Nov 2012 16:58:08 +1100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121028 Thunderbird/16.0.2 MIME-Version: 1.0 To: Adam Harvey CC: Anthony Ferrara , "internals@lists.php.net" References: <50A9F799.5080909@codeangel.org> <50AC60BC.1030207@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] RFC: ext/mysql deprecation From: davidkmuir@gmail.com (David Muir) On 21/11/12 16:08, Adam Harvey wrote: > On 21 November 2012 13:03, David Muir wrote: >> On 21/11/12 15:47, Adam Harvey wrote: >>> 2. If we decide not to generate E_DEPRECATED notices in PHP 5.5, what >>> should the next course of action be: >>> (a) Enhance the manual text to make the soft deprecation clearer, >>> and generate E_DEPRECATED notices in PHP 5.6 >>> (b) Enhance the manual text to make the soft deprecation clearer, >>> but take no further action in terms of E_DEPRECATED for the forseeable >>> future >>> (c) Remove the warnings from the manual and undeprecate ext/mysql >>> entirely >> Has 2(c) been even suggested? > Not that I've seen, but having a "none of the above, I want none of > this" option seems prudent. Except it's "lets reverse the changes already made", not "none of the above". > >> I take at that 2(b) is for those advocating "Move to PECL with no >> E_DEPRECATED notices being thrown"? > Not really. We can't really unbundle and move to PECL without > deprecating first anyway, IMO. It's basically the option for no real > change but clarifying the manual wording, since nobody seems satisfied > with it. No other extension was deprecated before moving to PECL, so why the extra hurt for ext/mysql? As I've said before, it doesn't makes sense to have it throw notices while it's in core, then no longer throw notices once moved to PECL. If the plan is to drop it completely, and not move it to PECL, then deprecation notices do make sense as there's no other recourse once the extension is removed. In that case we really should have 3 questions: Should ext/mysql generate E_DEPRECATED notices in PHP 5.5? (yes/no) Should ext/mysql be moved to PECL or dropped completely in the future (PECL/dropped) Should the manual text be changed to make soft deprecation clearer? (yes/no) > > Or, to put it another way from where I sit: the "too hard, let's make > a decision after stringing people along longer" option. > > Adam Cheers, David