On 14 Sep 2014, at 21:22, Derick Rethans <der...@php.net> wrote:

> But this "compromise" introduces yet another set of casting rules. And 
> that is why will advocate and vote against this.
> 
> We can either have casting where:
> 
>       function bar(int $foo) { }
>       bar("42");
> 
> Means the same as:
> 
>       function bar($foo) { }
>       bar((int) "42”);
> 

Is anyone really advocating for that? I thought people wanted zpp-style casting.
--
Andrea Faulds
http://ajf.me/





--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to