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

[email protected] (Dan Ackroyd)
Newsgroups php.internals
Message-ID <CA+kxMuQTOOoczWmNqkpScSToES4iQHxVmyesB4d8kcMM6A+GaQ@mail.gmail.com>
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 <[email protected]> wrote:
> Good evening,
>
> I’ve given up on my plan B, so I’m putting this RFC, finally, to a vote.
>
> I would urge you to vote in favour. It is not going to please everyone, it is after all a compromise proposal. However, I have tried my best to strike a balance between complete weak typing and strict typing. If this passes, we will finally have userland type specifiers for scalar types. It’s not perfect, but I’d argue it’s far better than nothing.
>
> Voting starts today, 2014-09-14, and ends in a week’s 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
>
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.