Re: [PHP-DEV] [VOTE][RFC] Scalar Type Hinting with Cast

[email protected] (Andrea Faulds)
Newsgroups php.internals
Message-ID <[email protected]>
On 14 Sep 2014, at 18:23, Dan Ackroyd <[email protected]> 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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.