When the type hint says I want an integer, then only integer should be accepted; no casting should be done. It may give predictable results
Why people that want Java just don't use Java I wonder? PHP never was a strict static typed language.
-- Stanislav Malyshev, Zend Software Architect [EMAIL PROTECTED] http://www.zend.com/ (408)253-8829 MSN: [EMAIL PROTECTED] -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php