Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:64089 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 17778 invoked from network); 29 Nov 2012 01:55:43 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Nov 2012 01:55:43 -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.210.42 as permitted sender) X-PHP-List-Original-Sender: davidkmuir@gmail.com X-Host-Fingerprint: 209.85.210.42 mail-da0-f42.google.com Received: from [209.85.210.42] ([209.85.210.42:45146] helo=mail-da0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A5/3E-30696-E90C6B05 for ; Wed, 28 Nov 2012 20:55:42 -0500 Received: by mail-da0-f42.google.com with SMTP id z17so6138372dal.29 for ; Wed, 28 Nov 2012 17:55:39 -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=YzBGKT055n5vq6wMi6GxMAFKORvLOnmIy09AHWcIS3U=; b=WkAZeZiICFC7BIBUnfW7kmJDL2uQyrayI9a2WStFMc5qN8u1/P/Ac3SAI0UID9FEil VSkM88t8YZPVtgR1N4OyeLxH0D+7/D/tzOpthqvP5lX8wgRbg6XndcaTiCefvKKlYrHj GrIzCY/TuGeWosQyCefJkH8UgmC1Ud9Ps1EvEA2cA13+H45Cvb7pTvDyvAPJAnhWh77B SknBqzCNAS6hF0pRwkS312qr6UAvFpBwh9frwhd4Wo0fOdDoVuwltQK5VqNPOdjlRrLZ AQA5wmDx9vgH2CBpIUANFir85K9hK9RXiimwKCxlNy1NQvXs2OEyh473gSJbVH9EJers /2Uw== Received: by 10.66.76.10 with SMTP id g10mr57198344paw.80.1354154139369; Wed, 28 Nov 2012 17:55:39 -0800 (PST) Received: from [192.168.1.181] (tmwpho1.lnk.telstra.net. [110.142.207.74]) by mx.google.com with ESMTPS id bv6sm135854pab.13.2012.11.28.17.55.36 (version=SSLv3 cipher=OTHER); Wed, 28 Nov 2012 17:55:38 -0800 (PST) Message-ID: <50B6C097.5010402@gmail.com> Date: Thu, 29 Nov 2012 12:55:35 +1100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Kris Craig CC: Anthony Ferrara , Patrick ALLAERT , Lester Caine , PHP internals References: <50B5D992.30609@lsces.co.uk> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: [VOTE] ext/mysql deprecation in 5.5 From: davidkmuir@gmail.com (David Muir) On 29/11/12 07:33, Kris Craig wrote: > On Wed, Nov 28, 2012 at 8:43 AM, Anthony Ferrara wrote: > >> Patrick, >> >> >> Sorry, but removing the E_DEPRECATED notice when moved to PECL is not >>> part of the proposed RFC and should certainly not happen. >>> >> The proposal doesn't actually propose anything about a move to PECL. It's >> listed in the "possible future actions" section exactly once. But the RFC >> doesn't take a stand on it in either direction. So I'm not sure that you >> can make that argument. >> >>> Adding it in one location and not the other does >>>> not make sense. >>> Absolutely! There is no reason to remove that kind of notice in the >> future. >> That's your opinion. Please realize it as such and that other viewpoints >> also exist. >> >> For example, I have the viewpoint that deprecation applies to the LANGUAGE. >> The inclusion of the extension in the language is what's being deprecated. >> Even after it's pulled, someone else can maintain it. We can say that you >> should avoid it, but there's nothing stoping someone else from continuing >> maintenance of it as a fork. And adding in the other missing functionality >> (possibly breaking BC, possibly not, whatever). >> >> Therefore, in my viewpoint, the deprecation notices only apply to the >> inclusion of the extension in the core language distribution. Not to the >> extension itself. >> >> I'm not saying that either one of us is right or wrong, just that there are >> other opinions. To keep this discussion productive, please refrain from >> using absolutes like that... >> >> Thanks >> >> Anthony >> > I think we're over-complicating this a bit. The whole point of > E_DEPRECATED is to get people to stop using an obsolete feature before it's > removed (or moved to PECL or whatever; neither of which is in the scope of > this RFC anyway). Documentation and whatnot can only accomplish so much. > > We also know that E_DEPRECATED works when other approaches do not. I would > point you all to the famous example of Drupal 7, which would break > completely due to a flurry of E_DEPRECATED warnings (if display_errors was > set to on) being triggered as of 5.3 due to their continued use of > magic_quotes_gpc and magic_quotes_runtime. When Drupal 8 was released some > time later, the code was fixed so that it no longer used those out-dated > functions. > > That's why I voted yes. > > --Kris > Kris, There was no "ext/magic_quotes" that was retired to PECL. You're comparing apples with oranges. David