Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:77234 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 29025 invoked from network); 16 Sep 2014 05:08:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Sep 2014 05:08:29 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.182 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.216.182 mail-qc0-f182.google.com Received: from [209.85.216.182] ([209.85.216.182:48852] helo=mail-qc0-f182.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 83/C8-64534-BC5C7145 for ; Tue, 16 Sep 2014 01:08:28 -0400 Received: by mail-qc0-f182.google.com with SMTP id c9so3497416qcz.13 for ; Mon, 15 Sep 2014 22:08:25 -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:content-transfer-encoding; bh=jGZ48OHBd+Mw9AnxHJHvJip+7icwMG1ItUZbfSTbC3A=; b=r6OvRC7Am/tRKW9CX+2XsmwOvastu5qtWZdAAtZ/lIa4vKdZU0j7l/BrsfybcRWZbN ByvBBkEdtU9oqxBdc4WHGNZtfgZ69LWOzYV4dtN4B1RWRIB6K1lMekMMTyD6vxaP0ku+ 72dJ63JYO81jYQYMZziZBn62qIevVzEjq4ufSEtCUDnUeins7NCF5uFnLhFWaAjId6pl nA5I4n3/fRCDy26IUKWe5HpSNf1umkw5TZfyw53nZhG0lhDV2IaIrOqkm8Dn9Fte6cug 5wT99kHN+SercLhZ7Uoku8iHr7fxLhtmMLPdoAX0xrZalIDWZxirsbDGAws7BsMogzAJ pi/g== MIME-Version: 1.0 X-Received: by 10.140.106.161 with SMTP id e30mr29652860qgf.20.1410844105012; Mon, 15 Sep 2014 22:08:25 -0700 (PDT) Received: by 10.140.22.51 with HTTP; Mon, 15 Sep 2014 22:08:24 -0700 (PDT) In-Reply-To: References: <6893A97A-EC4C-4124-B804-96E2A26B953F@ajf.me> Date: Tue, 16 Sep 2014 07:08:24 +0200 Message-ID: To: Andrea Faulds Cc: PHP internals Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] [VOTE][RFC] Scalar Type Hinting with Cast From: pierre.php@gmail.com (Pierre Joye) hi Andrea, On Mon, Sep 15, 2014 at 3:07 PM, Andrea Faulds wrote: > > On 14 Sep 2014, at 00:35, Andrea Faulds wrote: > >> I have postponed the vote after further thought. It=E2=80=99s been a whi= le since this was discussed on the list. >> >> However, it is my intent to open voting properly at some point soon, if = all goes to plan. > > I have withdrawn the RFC. I do not feel anymore that it is the way forwar= d with scalar type hints in PHP. Sigh. Here we go again. I do not think we will ever reach an agreement on the list before the RFC goes to the voting phase. That's why I think the RFC should contain the most requested options and go with them. Any further discussions will simply create more confusions and yet again move to a dead end, we all lose. It would be great if there are two sets of options: - One about having scalar typed arguements, hinted or not, simple yes/no, so we at least agree on having the feature - a set of options about how should it work . strict . what the rfc describes in its last state . matching, if possible at all, current casting, following what (int)$foo and co or whatever is considered as "the common casting php way" I am not saying these are the only options or only the correct ones, there may be other. I only would like to get this sorted out sooner rather than later. If we agree on the feature itself and we do not see a clear majority on one point or another, let take the top two options and try to figure what has to be changed to get a majority (2nd phase vote). To be more clear: We must get a decision here. I am convinced that this is a top requested feature, since very long. Delay it forever only because we are unable to find a concensus sounds pretty bad. Let get us together to finally have this feature implemented, in the best possible way. Cheers, --=20 Pierre @pierrejoye | http://www.libgd.org