Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:39619 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 18717 invoked from network); 4 Aug 2008 10:38:14 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Aug 2008 10:38:14 -0000 Authentication-Results: pb1.pair.com smtp.mail=derick@php.net; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=derick@php.net; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 82.94.239.7 as permitted sender) X-PHP-List-Original-Sender: derick@php.net X-Host-Fingerprint: 82.94.239.7 mail.jdi-ict.nl Linux 2.6 Received: from [82.94.239.7] ([82.94.239.7:60951] helo=mail.jdi-ict.nl) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 48/ED-46562-31CD6984 for ; Mon, 04 Aug 2008 06:38:13 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.jdi-ict.nl (8.13.7/8.12.11) with ESMTP id m74Ac8sP019752; Mon, 4 Aug 2008 12:38:08 +0200 Date: Mon, 4 Aug 2008 12:38:08 +0200 (CEST) X-X-Sender: derick@kossu.ez.no To: Marcus Boerger cc: Dmitry Stogov , internals@lists.php.net In-Reply-To: <4110083360.20080804104233@marcus-boerger.de> Message-ID: References: <909776579.20080803142659@marcus-boerger.de> <4896A7C4.8090503@zend.com> <4110083360.20080804104233@marcus-boerger.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=UTF-8 Subject: Re: [PHP-DEV] Inconsistencies in 5.3 From: derick@php.net (Derick Rethans) 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