Re: Return type hinting patch
| From: | Stanislav Malyshev | Date: | Fri, 25 Apr 2008 18:28:00 +0000 |
| Subject: | Re: Return type hinting patch | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-37229@lists.php.net to get a copy of this message | ||
Hi!
Why note the following (which would be more C like): function return int a($arg1, $arg2) { }In C I am familiar with "return" keyword is never used in function definition. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com