Re: RFC: Making T_FUNCTION optional in method declarations
| From: | Ángel González | Date: | Sun, 28 Nov 2010 15:49:04 +0000 |
| Subject: | Re: RFC: Making T_FUNCTION optional in method declarations | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-50661@lists.php.net to get a copy of this message | ||
Derick Rethans wrote:
> On Sat, 27 Nov 2010, Johannes Schlüter wrote:
>> RFC: http://wiki.php.net/rfc/optional-t-function
>> Patch:
>> http://schlueters.de/~johannes/php/zend_optional_t_function.diff
> I'm -1 on this one. Besides this being confusing for people who want to
> run "newer" code on older PHP versions; this change does nothing but
> stop you from having to type "function". Something that the parser tells
> you immediately that you have forgotten this.
>
> cheers,
> Derick
Join me to the list of people which don't like it.