Hi!

Right, return type hinting is useless in such cases, but it is
interesting when we check whether a method is compatible with an
implemented interface or an extended/abstract class. In this case,

When exactly you check that? PHP has no static type checking, and in runtime actual values, not function definitions, are checked. If you mean checking by tools like IDE, phpdoc is more than enough for that.
--
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

Reply via email to