Hi!
http://wiki.php.net/rfc/returntypehint
for the upcoming 5.4 release, I think it would be extremely useful, even
without the scalar stuff.
Personally, I see even less point in having strict return typing (please
stop using "hint" terminology, it confuses the whole matter, it's not
"hint" if it describes mandatory restriction on the data) than strict
argument typing. The RFC doesn't explain it either beyond "here how you
can have some nice errors".
But why would I want to see these errors? How they would make anything
easier or better?
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php