Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:84564 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 76610 invoked from network); 11 Mar 2015 18:03:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Mar 2015 18:03:59 -0000 Authentication-Results: pb1.pair.com smtp.mail=danack@basereality.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=danack@basereality.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain basereality.com from 209.85.160.181 cause and error) X-PHP-List-Original-Sender: danack@basereality.com X-Host-Fingerprint: 209.85.160.181 mail-yk0-f181.google.com Received: from [209.85.160.181] ([209.85.160.181:45402] helo=mail-yk0-f181.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F1/6C-07702-E8380055 for ; Wed, 11 Mar 2015 13:03:58 -0500 Received: by ykp131 with SMTP id 131so4809312ykp.12 for ; Wed, 11 Mar 2015 11:03:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=N4R/NUwno0HSL+Er35JWATYw3nr4b8SLaCWIOfgqq5M=; b=DPVp+ufa1Ov2hXI/+WPrDBCCIX8MmQXRR96Cl5yux10EmTCB49lKybQadFCEXiYG76 qX4g1qT7nenA/+o/T6EU1t2uahXnQ1LPjzm93z0ob8O6c6SvA5kpoilg/Ew+DtP+kOFp 794vdvW223C8ONfRe4M4eaVpHkGyPbYo3I+71XOP/MHl3GpGNyvv2m1iQ7s41exbrMdf nymfFRy9za23LmD9Ej2zEGAxQVelhRVIanf35xYn7zU+WV923cnbKnFxQKSbc3WdlvQb 6ZoMe2xIuGnk5jjL/KQZBasPHRIhejhGzwkvr4iXm5T9frigRK25nRBl3969ilyHhkZ2 UQVw== X-Gm-Message-State: ALoCoQlEl/CkKVHOqSi5afknBAvFJQVTzDL7k/QVDSL9mbx57WjxUHl1EYlmX8OOXXAVpK6ep1CV MIME-Version: 1.0 X-Received: by 10.170.90.70 with SMTP id h67mr42788450yka.46.1426097035454; Wed, 11 Mar 2015 11:03:55 -0700 (PDT) Received: by 10.170.71.86 with HTTP; Wed, 11 Mar 2015 11:03:55 -0700 (PDT) X-Originating-IP: [2.98.214.239] In-Reply-To: <8cdd5272816cf2b22ea9793d80ba5074@mail.gmail.com> References: <8cdd5272816cf2b22ea9793d80ba5074@mail.gmail.com> Date: Wed, 11 Mar 2015 18:03:55 +0000 Message-ID: To: Zeev Suraski Cc: PHP internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [VOTE][RFC] Coercive Scalar Type Hints From: danack@basereality.com (Dan Ackroyd) On 11 March 2015 at 16:45, Zeev Suraski wrote: > I think that going through a transition period ... that ultimately results > in one, consistent language behavior This RFC is explicitly saying that there is stuff that will be need to be changed in the future. Why would anyone upgrade from PHP 5.6 to PHP 70 when there are going to be more changes to the type system? Everyone would wait until that future version of PHP to upgrade and so just have to do a single migration, instead of having to do two migrations? This is clearly worse than the strict STH RFC; with that people can write code that will work on 5.x, 7 and 7.x by just not using scalar type hints. cheers Dan