Re: [VOTE][RFC] Scalar Type Hinting with Cast

From: Date: Sun, 14 Sep 2014 17:25:24 +0000
Subject: Re: [VOTE][RFC] Scalar Type Hinting with Cast
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-77189@lists.php.net to get a copy of this message
On 14 Sep 2014, at 18:23, Dan Ackroyd <danack@basereality.com> wrote: > When you re-open the voting, please can you have an option that is > 'Yes - without numeric typehint’ ? I was already planning that, actually. :) > 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. Yeah. While me and Anthony thought it was a no-brainer, I’ve since seen some opposition to it, so I’d have its own vote. -- Andrea Faulds http://ajf.me/

« previous php.internals (#77189) next »