On Mon, 14 Jul 2014, Stas Malyshev wrote:

> > In general, I am not in favour of casting typehints, as it would be 
> > a different behaviour from the hard-check typehints that we already 
> > have for classes and arrays.
> 
> It already is. All internal functions behave this way.

But casting typehints is a userland feature, not an internal function.

cheers,
Derick

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

Reply via email to