On Thu, 3 Jan 2008, Stanislav Malyshev wrote: > > 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.
Broken record perhaps? I am getting a bit tired of this "just use Java argument", it's perhaps even a bit arrogant. From what I read there is plenty of people that want type hints for static types - there's a few patches out there, it doesn't slow down the general case. So why should we *not* add it? (And yes, I changed my mind) 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