Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:64083 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 69334 invoked from network); 28 Nov 2012 20:34:02 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Nov 2012 20:34:02 -0000 Authentication-Results: pb1.pair.com smtp.mail=kris.craig@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=kris.craig@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.42 as permitted sender) X-PHP-List-Original-Sender: kris.craig@gmail.com X-Host-Fingerprint: 209.85.215.42 mail-la0-f42.google.com Received: from [209.85.215.42] ([209.85.215.42:36590] helo=mail-la0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E4/65-30696-83576B05 for ; Wed, 28 Nov 2012 15:34:01 -0500 Received: by mail-la0-f42.google.com with SMTP id s15so11272034lag.29 for ; Wed, 28 Nov 2012 12:33:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=wnyPeDlScuzSV7dNDIPj+pSUL/brbV3my7bdetxlu2c=; b=xjb7mJkb1oe1FQBLvuFZdF324mCtwgdiTuY5bOuN1V2z6FIo6ZhzXgg5xJxg8aMjRw 2YXEJCJTM6IDN8gT41dOH4+pJWNIspYb8lK1fqDROsmFSqBEs/2G5MBHQdbbenNa7vOq OKfnkhwvl95gJXi58YFnlposx5dLzmjnIGOUyW7FSD34L/qjPTB38Lh34T8JZvs+eX4s zn3+JrIVM9HaR1Zwtcb121ehWvKPM6mNizwRimLkCZvUG6ftrv050Q/RDozwk0bmf9Lr QoLPjG9N2VGeBLVQNCXOxKM0p9nq1bnbJHbMrpPo4mUVgbAEPE0xanKFqrl2n8N2and3 RpfA== MIME-Version: 1.0 Received: by 10.152.148.40 with SMTP id tp8mr19352953lab.30.1354134835324; Wed, 28 Nov 2012 12:33:55 -0800 (PST) Received: by 10.152.114.2 with HTTP; Wed, 28 Nov 2012 12:33:55 -0800 (PST) In-Reply-To: References: <50B5D992.30609@lsces.co.uk> Date: Wed, 28 Nov 2012 12:33:55 -0800 Message-ID: To: Anthony Ferrara Cc: Patrick ALLAERT , Lester Caine , PHP internals Content-Type: multipart/alternative; boundary=e89a8f234665d666e004cf94159c Subject: Re: [PHP-DEV] Re: [VOTE] ext/mysql deprecation in 5.5 From: kris.craig@gmail.com (Kris Craig) --e89a8f234665d666e004cf94159c Content-Type: text/plain; charset=ISO-8859-1 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 --e89a8f234665d666e004cf94159c--