Re: [VOTE][RFC] Coercive Scalar Type Hints
| From: | Pierre Joye | Date: | Wed, 11 Mar 2015 20:05:10 +0000 |
| Subject: | Re: [VOTE][RFC] Coercive Scalar Type Hints | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-84573@lists.php.net to get a copy of this message | ||
On Mar 12, 2015 2:10 AM, "Zeev Suraski" <zeev@zend.com> wrote:
>
> The vote on the Coercive Scalar Type Hints is now open for voting.
>
>
>
> The latest version of the RFC includes changes discussed on internals@
last
> week:
>
> 1. Accept string->bool and int->bool conversions (false->bool is not
> supported)
>
> 2. Accept leading/trailing spaces in string->number conversions.
>
>
>
> wiki.php.net/rfc/coercive_sth
>
> wiki.php.net/rfc/coercive_sth#vote
Voted no for the following reasons:
- change default casting, which has been working since years, consistently
inconsistent
- due to the previous nature of changes, we have no way to be sure we won't
break anything badly out there
- big changes in the RFC+patch between last discussions and vote. Should
not be allowed, can't veto it so voted no
>
>
> Thanks!
>
>
>
> Zeev