Re: [VOTE][RFC] Scalar Type Hinting with Cast
| From: | Dan Ackroyd | Date: | Sun, 14 Sep 2014 17:23:37 +0000 |
| Subject: | Re: [VOTE][RFC] Scalar Type Hinting with Cast | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-77188@lists.php.net to get a copy of this message | ||
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 <ajf@ajf.me> 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
>