Re: Return type hinting patch
| From: | Sam Barrow | Date: | Fri, 25 Apr 2008 18:25:10 +0000 |
| Subject: | Re: Return type hinting patch | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-37228@lists.php.net to get a copy of this message | ||
> Why note the following (which would be more C like):
>
> function return int a($arg1, $arg2) {
> }
>
>
It gets a little long when you're using classes
abstract protected function return int dostuff() {
}
vs
abstract protected function dostuff() return int {
}