Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:77188 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 31079 invoked from network); 14 Sep 2014 17:23:42 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Sep 2014 17:23:42 -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 74.125.82.46 cause and error) X-PHP-List-Original-Sender: danack@basereality.com X-Host-Fingerprint: 74.125.82.46 mail-wg0-f46.google.com Received: from [74.125.82.46] ([74.125.82.46:54819] helo=mail-wg0-f46.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 49/6B-53483-C1FC5145 for ; Sun, 14 Sep 2014 13:23:41 -0400 Received: by mail-wg0-f46.google.com with SMTP id n12so2825468wgh.17 for ; Sun, 14 Sep 2014 10:23:37 -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 :content-transfer-encoding; bh=cUVusxG+FuhHVI3RwgWNxQA28RJp75cyF6h/PGGSDts=; b=AOIPV/sopQCncdDtTRXJQxJpix6Ho88nDDEqyzrsdjhO6QZOn+kpEhsqyqh3RIbRhN P0SQKmSM/2qffCgGrYSzDrNqvblUiKvZzGyKCorNnTzb4prXxbWdB3yHZ9Uu3aoPMuVc vYrra8eyJ2DmDMw+8yS0TXeyE5X703RQNLHOvbQyP+egg7P5aBbVWR2kzdf/t3dw8Xla +GiVOFIDL0JQAmdV00lf4trmVw6M/6625y84MsQ5jiTNMDZI7xPfIlps21q3O634zReV YR2Cl+S9SDq/CrcKxQ8bPWIWqPxkONPUE0wMWW2MPc8FbKNpjRySaE53oj3xM9QN6N7m CFxg== X-Gm-Message-State: ALoCoQkQu5sUBl/at+w0jJlcaibmAjjUqHx2PcQHqSpAd+VAtS3z+ZOk4mLDxKBdMqIsbXPe3ZUi MIME-Version: 1.0 X-Received: by 10.180.104.201 with SMTP id gg9mr10501498wib.15.1410715417292; Sun, 14 Sep 2014 10:23:37 -0700 (PDT) Received: by 10.216.82.66 with HTTP; Sun, 14 Sep 2014 10:23:37 -0700 (PDT) X-Originating-IP: [78.145.248.211] In-Reply-To: <6893A97A-EC4C-4124-B804-96E2A26B953F@ajf.me> References: <6893A97A-EC4C-4124-B804-96E2A26B953F@ajf.me> Date: Sun, 14 Sep 2014 18:23:37 +0100 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: danack@basereality.com (Dan Ackroyd) Hi Andrea, When you re-open the voting, please can you have an option that is 'Yes - without numeric typehint' ? Although I like the idea of the RFC, having a type-hint that matches multiple scalar types seems distinctly weird to me. It really needs a separate case making for it, separate from the 'should we have scalar type hints for the current types' question. cheers Dan On 14 September 2014 00:30, Andrea Faulds wrote: > Good evening, > > I=E2=80=99ve given up on my plan B, so I=E2=80=99m putting this RFC, fina= lly, to a vote. > > I would urge you to vote in favour. It is not going to please everyone, i= t is after all a compromise proposal. However, I have tried my best to stri= ke a balance between complete weak typing and strict typing. If this passes= , we will finally have userland type specifiers for scalar types. It=E2=80= =99s not perfect, but I=E2=80=99d argue it=E2=80=99s far better than nothin= g. > > Voting starts today, 2014-09-14, and ends in a week=E2=80=99s time, 2014-= 09-21. > > Thanks! > > https://wiki.php.net/rfc/scalar_type_hinting_with_cast#vote > -- > Andrea Faulds > http://ajf.me/ > > > > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php >