Re: [VOTE][RFC] Coercive Scalar Type Hints
| From: | Ole Markus With | Date: | Thu, 12 Mar 2015 08:10:09 +0000 |
| Subject: | Re: [VOTE][RFC] Coercive Scalar Type Hints | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-84611@lists.php.net to get a copy of this message | ||
On 03/11/2015 09:05 PM, Pierre Joye wrote:
> 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
>
I changed my vote to no for the same reasons.
Cheers,
Ole Markus