[PHP7] Remove the function keyword from class methods?
| From: | Thomas Gossmann | Date: | Fri, 03 Oct 2014 16:21:51 +0000 |
| Subject: | [PHP7] Remove the function keyword from class methods? | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-77759@lists.php.net to get a copy of this message | ||
Hey there,
I'm just a php developer, thus not even having a php.net account.
I was wondering if it is possible to deprecate/remove the function keyword from class methods in php7 or at least make it optional when one of the visibility keywords is present?
I feel like writing a completely unnecessary keyword each time I write a new method for a class.
I guess this was a discussion earlier, though I wasn't able to find anything about it. Would love to hear, what pdt-internals (re-)think about that topic.
Thanks,
gossi