On Thu, 3 Jan 2008, Sam Barrow wrote:

> It doesn't disable type conversion unless you specifically tell it to.
> Plus the fact that if it issues an E_WARNING, your application will not
> necessarily stop execution.

Stop right here for a moment. Type hints currently throw an 
E_RECOVERABLE_ERROR, for obvious reasons. That means, that scalar type 
hints should do so as well - *without* auto conversion. We should not 
make this inconsistent or we really fucked it up.

regards,
Derick

-- 
Derick Rethans
http://derickrethans.nl | http://ezcomponents.org | http://xdebug.org

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

Reply via email to