> On 19 Nov 2014, at 19:04, Anatol Belski <anatol....@belski.net> wrote:
> 
> Yeah, try_string(new A) == (string)(new A), but try_int(new A) !=
> (int)(string)(new A) in the RFC. Whereby '10' were pretty valid for int,
> no?

Oh, you’re saying how to_int/to_float don’t accept __toString objects. I 
suppose they could, but (int) and (float) don’t accept that, nor do we accept 
that anywhere else.
--
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