Re: RFC: Making T_FUNCTION optional in method declarations
| From: | Michael Wallner | Date: | Tue, 30 Nov 2010 08:52:07 +0000 |
| Subject: | Re: RFC: Making T_FUNCTION optional in method declarations | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-50713@lists.php.net to get a copy of this message | ||
On 11/27/2010 06:40 PM, Johannes Schlüter wrote:
Hi, ...
Without T_FUNCTION token. In my opinion an access modifier /public, private protected, static, final) should still be required for keeping readability. RFC: http://wiki.php.net/rfc/optional-t-function Patch: http://schlueters.de/~johannes/php/zend_optional_t_function.diff+1 for any PHP version. Insisting on keeping T_FUNCTION means advocating PHP to stay the odd anomaly in programming languages to me. Regards, Mike