Re: Inconsistencies in 5.3
| From: | Derick Rethans | Date: | Mon, 04 Aug 2008 10:38:08 +0000 |
| Subject: | Re: Inconsistencies in 5.3 | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-39619@lists.php.net to get a copy of this message | ||
On Mon, 4 Aug 2008, Marcus Boerger wrote:
> Monday, August 4, 2008, 8:55:00 AM, you wrote:
>
> > Marcus Boerger wrote:
> >> Hello Internals,
> >>
> >> please let's not introduce new inconsistencies. Rather lets make
> >> new stuff consistent with old stuff during the alpha phase of 5.3.
> >>
> >> 1) new keyword 'use'. Semantically it is the same as 'static' or
> >> 'global' so it should be used in the same location.
>
> > For me 'use' is the best keyword as it says that closure uses
> > variables from current content. (the same keyword is used for import
> > from namespaces)
>
> To be clear, I wasn't complaining about the keyword per se. I just
> prefer it to be inside the curly braces of a closure next to global
> rather than in front of it.
I'd have to agree with that... the place where it is used now is kinda
strange.
regards,
Derick
--
HEAD before 5_3!: http://tinyurl.com/6d2esb
http://derickrethans.nl | http://ezcomponents.org | http://xdebug.org