Re: RFC: Making T_FUNCTION optional in method declarations
| From: | Patrick ALLAERT | Date: | Thu, 02 Dec 2010 13:06:07 +0000 |
| Subject: | Re: RFC: Making T_FUNCTION optional in method declarations | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-50809@lists.php.net to get a copy of this message | ||
2010/12/2 André Rømcke <ar@ez.no>:
> On Thu, Dec 2, 2010 at 10:34 AM, Patrick ALLAERT <patrickallaert@php.net>
> wrote:
>> Shouldn't we get rid of that kind of pre-PHP5 stuff _before_
>> introducing the possible omission of T_FUNCTION?
>
> Why?
> This will break lots of code, does it improve anything while at it? Is 'var'
> hindering anything? Is it taking up a lot of code?
> If it is removed then that should be in trunk aka "6.0" the 2nd , and not in
> 5.x.
It should of course not appear in a 5.x release! But sounds like
current trunk can't be anyway.
+1 for removing T_VAR and making T_FUNCTION optional in a major release.
-1 otherwise.
--
Patrick Allaert
---
http://code.google.com/p/peclapm/ - Alternative PHP
Monitor