Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:85222 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 6671 invoked from network); 19 Mar 2015 17:28:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Mar 2015 17:28:41 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.192.44 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.192.44 mail-qg0-f44.google.com Received: from [209.85.192.44] ([209.85.192.44:33359] helo=mail-qg0-f44.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CC/13-25408-7470B055 for ; Thu, 19 Mar 2015 12:28:40 -0500 Received: by qgfa8 with SMTP id a8so71481137qgf.0 for ; Thu, 19 Mar 2015 10:28:37 -0700 (PDT) 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=ecauDrkO8zFAPOi1j5WXf81qzt0XEu6WIQZaWJ6o9dM=; b=GsYvkXeLnhjrZ8hyW6TclKI2aZVVXAnQ3uarAOKJJfSzkvIu2vgHkTkpqWZ5r4ph7u qrJdfLmKQyqKk26LbpLEb66/1INpU/UqG3FXJM4lmqbGBcN3/rKsSsjEzQwUhnToazzV Tn1N2VG6iQ9fM+RLkzV70lecB6Hh7FR84DqUyC9gsl/M2+qqIPPWoebjgoNp6jiEWR94 Y8RtgjndLpToYAKNJCuIUl5oQ+G+REYhPnuupi70/tV/RpZfuJb8IFMr7DGZ1/ar9h18 8Aheg3n4qE//hbNY5rjlFf4LnFMxl7c7m6nkRm/V8HJf59Pm5aH0IbvrDwuzCuMbeDZ1 Wiyg== MIME-Version: 1.0 X-Received: by 10.55.19.159 with SMTP id 31mr110284191qkt.24.1426786117027; Thu, 19 Mar 2015 10:28:37 -0700 (PDT) Received: by 10.96.39.195 with HTTP; Thu, 19 Mar 2015 10:28:36 -0700 (PDT) Received: by 10.96.39.195 with HTTP; Thu, 19 Mar 2015 10:28:36 -0700 (PDT) In-Reply-To: <077401d06268$2b597c30$820c7490$@php.net> References: <885a29db28bc96b2d3cd2ac96907e39f@mail.gmail.com> <077401d06268$2b597c30$820c7490$@php.net> Date: Fri, 20 Mar 2015 04:28:36 +1100 Message-ID: To: francois@php.net Cc: PHP internals , Zeev Suraski Content-Type: multipart/alternative; boundary=001a113ffb46ad5aff0511a78729 Subject: RE: [PHP-DEV] Question/comment about the Array to String conversion RFC From: pierre.php@gmail.com (Pierre Joye) --001a113ffb46ad5aff0511a78729 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Mar 20, 2015 12:14 AM, "Fran=C3=A7ois Laupretre" wrot= e: > > > De : Zeev Suraski [mailto:zeev@zend.com] > > > > https://wiki.php.net/rfc/array-to-string (which I voted yes to) deviate= s > > from our guidelines of deprecating features first, and removing them > > later; It=E2=80=99s addressed in the RFC =E2=80=93 but I=E2=80=99m a b= it worried that this opens > > the door to jumping from any sort of notice/warning into errors or removed > > features without any deprecation phase. > > > > In comparison, in Nikita=E2=80=99s RFC for removing E_STRICT =E2=80=93 = there aren=E2=80=99t any > > proposed =E2=80=98jumps=E2=80=99 to E_RECOVERABLE_ERROR that don=E2=80= =99t first go through > > E_DEPRECATED. > > > > Should we not go through this deprecation cycle, even if may feel anxious > > to get rid of this behavior? > > Sorry for the delay but I could not send emails during the last 3 weeks. > > As you may have noticed if you had a look at the RFC or twitter, I have decided to follow people's suggestion. Array to string conversion will raise E_DEPRECATED in 7.0, and, then, fatal error in 7.1 or 7.2. Hmm.. Sorry but no. I really do not think we can do this, this will bring a major BC in 7.1+ and we do not allow BC but in extreme cases. > Please note that the switch from E_DEPRECATED to fatal error won't require any new RFC/discussion/vote as the fatal error is considered as approved. I just introduce an E_DEPRECATED phase for 7.0. Well, if it is, do it in 7.0. But changing that all of a sudden and making it fatal in 7.1+ is an extremely bad idea :) > Regards > > Fran=C3=A7ois > > > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > --001a113ffb46ad5aff0511a78729--