[prev in list] [next in list] [prev in thread] [next in thread]
List: php-internals
Subject: Re: [PHP-DEV] Re: Type-hinted return values in PHP5?
From: 136.159.238.143
Date: 2007-07-30 15:44:12
Message-ID: D0.C5.59109.F470EA64 () pb1 ! pair ! com
[Download RAW message or body]
Stanislav Malyshev wrote:
>> I think the only serious advantage I could see would be to allow
>> context-assistance IDEs more data, so they could provide
>> method-completion.
>
> PHPDoc does that with @return tag.
>
True but there will be times when the documentation is wrong[1] or when
the function returns something that it shouldn't.
Again, this really has little to do with IDEs. It is aimed improving the
interface language construct.
[1]http://bugs.php.net/bug.php?id=38402
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic