Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:83437 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 7770 invoked from network); 21 Feb 2015 22:12:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Feb 2015 22:12:16 -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 209.85.223.175 as permitted sender) X-PHP-List-Original-Sender: zeev@zend.com X-Host-Fingerprint: 209.85.223.175 mail-ie0-f175.google.com Received: from [209.85.223.175] ([209.85.223.175:44126] helo=mail-ie0-f175.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D6/97-08895-EB209E45 for ; Sat, 21 Feb 2015 17:12:16 -0500 Received: by iecar1 with SMTP id ar1so15648648iec.11 for ; Sat, 21 Feb 2015 14:12:12 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:references:in-reply-to:mime-version :thread-index:date:message-id:subject:to:cc:content-type; bh=vwPsJ3mmAU6leLEWn/x9sgg1xCWx3ZVBzs6PQfw9hT8=; b=LLkaHuV/inBGl9AHuqj5Hzpae6P3KMDytkt+Ocq0wYubPHncQrshiySymZW5Crz0qE uzpdVDHnG/seawx097k19qcd/A44rQzQsoeWJdwfzJNi3szGkUs0b0WKPIaAqWOEnDSw i5C1n7wUfBXAwBX4ogszQKYYB/FpbFZLkR81xAvlham/AP3SkvMae83YEwCEIl+niG1R xrxmBzWU9Mv/TWAcYKtvamNSxg3w/ttBW7eZIs1bSaabAqTbKCUhvxJ6JfDSI0pE3FmG fw4DviBWRmi4mO/DRHDQUGroZpCccdfJ4X9Qgm2gJhZICq3Al+rQI3czdvCmu7iETsTJ VgCQ== X-Gm-Message-State: ALoCoQmKqZld5h1SB81P+cuJ6A4T2FyXUntMLiVpFI3py6JV/KUWAU6HbB58ZFxHaNbUUNVzCQB+/9ufr27XeZZSFC2AWgMrzyDsxPCbTKcrAlDV5IxvNLvUqRd8cFZC7zHgfwONVGgUi3nz+Fia0FC76J71LfjhRA== X-Received: by 10.107.131.83 with SMTP id f80mr5508117iod.50.1424556732188; Sat, 21 Feb 2015 14:12:12 -0800 (PST) References: <7ef509ef10bb345c792f9d259c7a3fbb@mail.gmail.com> In-Reply-To: MIME-Version: 1.0 X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQKcPg+jpyYspJS11b5G1A7RBHpKTgKHEpygm0+PyrA= Date: Sun, 22 Feb 2015 00:12:11 +0200 Message-ID: To: marcio3w@gmail.com Cc: PHP internals Content-Type: multipart/alternative; boundary=001a113f998afc2abd050fa07592 Subject: RE: [PHP-DEV] Coercive Scalar Type Hints RFC From: zeev@zend.com (Zeev Suraski) --001a113f998afc2abd050fa07592 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable M=C3=A1rcio, I hope to be able to work on an actual implementation and have something by the end of the upcoming week, allowing us all to experiment. Other than tweaking the conversion table, which based on the feedbacks I * *believe** can be done in a way everyone can live with =E2=80=93 I agree th= at the biggest open question is how we deal with internal functions. Also note that the, the 2nd proposed option in the RFC (=E2=80=9CEmit E_DEP= RECATED in 7.0, move to E_RECOVERABLE_ERROR in v7.1 or v8.0=E2=80=9D) =E2=80=93 of = marking newly-rejected-conversions as E_DEPRECATED is not considered as a BC break IMHO. The code would still work, and the likelihood that something bad was legitimately found is pretty high. Given the compressed timeline, I wanted to gauge the general response as soon as possible, and also start the RFC discussion process as soon as possible, which meant we couldn=E2=80=99t include the implementation to go = along with it. Two more things regarding the competing RFC =E2=80=93 it=E2=80=99s still al= ive, and being promoted for PHP 7.0; And while it doesn=E2=80=99t create a huge BC break,= it allows developers to selectively create localized BC breaks, on a per file basis. Thanks for the feedback! Zeev Thanks for your effort and for proposing the RFC so quick. But indeed, as you said, this is really premature. According to my interpretation the RFC proposes a potentially huge bc break on internal functions usage while the competing (recently withdraw) RFC was BC compatible regarding this. Having this proposal without a working patch, so we can try the real impact it could have before form opinions, frankly, doesn't sound like a good idea. I know it's still a draft but, considering the RFC is aimed to v7.0, I hope to see a working implementation before the feature freeze just like what was exemplary made with the other previous withdraw proposals. Thanks, M=C3=A1rcio --001a113f998afc2abd050fa07592--