Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:84598 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 47420 invoked from network); 11 Mar 2015 22:56:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Mar 2015 22:56:23 -0000 Authentication-Results: pb1.pair.com smtp.mail=pajousek@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pajousek@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.192.47 as permitted sender) X-PHP-List-Original-Sender: pajousek@gmail.com X-Host-Fingerprint: 209.85.192.47 mail-qg0-f47.google.com Received: from [209.85.192.47] ([209.85.192.47:47072] helo=mail-qg0-f47.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A0/E9-32765-618C0055 for ; Wed, 11 Mar 2015 17:56:23 -0500 Received: by qgfh3 with SMTP id h3so13977626qgf.13 for ; Wed, 11 Mar 2015 15:56:20 -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=x4lPSM3il0EYDCPoDC7J7MmJD7060EMeqedJ9/xJZU8=; b=hqoR7fNfAJwOc535+OajiM4yz1sHQoQHXX2O5A1p+qUUwEz6IbUY8O/exM1405bgfY n1Xz8C2Hx8vm8KpmNAHLEii9uglvQT+diL9XbvdXH4rjUyAHaaIUNccNLfdaJd+bIdAy m04ff1iKslJIK/s/mvI21XbCrAiu6GVlNviGVvNXj/P/AtVGtef7/2FnYeB6PFjnEJrk igbcCsIqRpIx7t575CFHPwZp8mTBafWro7xTbdTgnIPS6XSp/SDPR9DhPxH/kGIX/x51 Iit4WoWvXDc+B9c9CnRLHvlb4twhZaB0a0oq37frDJWFix1FFmA/A1kkEQJo40rXTFGe 3BSQ== MIME-Version: 1.0 X-Received: by 10.140.239.150 with SMTP id k144mr52137975qhc.77.1426114580156; Wed, 11 Mar 2015 15:56:20 -0700 (PDT) Received: by 10.96.160.99 with HTTP; Wed, 11 Mar 2015 15:56:20 -0700 (PDT) In-Reply-To: References: Date: Wed, 11 Mar 2015 23:56:20 +0100 Message-ID: To: Bob Weinand Cc: PHP internals Content-Type: multipart/alternative; boundary=001a11358876f5966205110b2c93 Subject: Re: [PHP-DEV] [RFC] Basic Scalar Types From: pajousek@gmail.com (=?UTF-8?Q?Pavel_Kou=C5=99il?=) --001a11358876f5966205110b2c93 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Wednesday, March 11, 2015, Bob Weinand wrote: >> Am 11.03.2015 um 23:29 schrieb Pavel Kou=C5=99il : >> >>>> It shouldn't prevent any future improvements and still give use all th= e >>> advantages of scalar types. >>> >>> Besides what I think of proposing yet another RFC, -1 because it is >>> basically what the initial idea from the opponents of optional strict mode >>> wanted before they go with the latest one. It also totally ignore what the >>> Anthony's proposes. >>> >> >> Hello, >> >> I'd say that this is definitely better than the dual mode RFC, but >> worse than the coercive one - I can't find a single reason why some >> modes switch should be good. I can only see negative outcomes from >> this, and a painful experience when developing with PHP in the long >> run as a userland developer. >> >> Basically goes with what I've been saying from the beggining of the >> introduction of the "dual mode" - I don't care if strong or weak >> typing wins, but I want only on in the language. PHP is inconsistent, >> there's no need to make even more inconsistencies and stuff. >> >> Regards >> Pavel Kouril > > It's not worse than the coercive one. It's just doing less. It doesn't change ZPP. > We always still can change ZPP later in future. > > If you like the coercive one, you also should like this one. > > Bob Yeah, I like this one - but I slightly prefer the coercive one. I feel like this one is just too weak (yes, because it doesn't change the ZPP), but it is still better than no hints at all - and infinitely better than introducing two modes. Hopefully you understand my POV now. :) Regards Pavel Kou=C5=99il --001a11358876f5966205110b2c93--