Newsgroups: php.internals,php.internals Path: news.php.net Xref: news.php.net php.internals:32848 php.internals:32849 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 53942 invoked by uid 1010); 18 Oct 2007 10:21:53 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 53927 invoked from network); 18 Oct 2007 10:21:53 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Oct 2007 10:21:53 -0000 Authentication-Results: pb1.pair.com smtp.mail=johannes@php.net; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=johannes@php.net; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 83.243.58.163 as permitted sender) X-PHP-List-Original-Sender: johannes@php.net X-Host-Fingerprint: 83.243.58.163 mail4.netbeat.de Received: from [83.243.58.163] ([83.243.58.163:33992] helo=mail4.netbeat.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DB/F6-12850-DB337174 for ; Thu, 18 Oct 2007 06:21:53 -0400 Received: (qmail 371 invoked by uid 507); 18 Oct 2007 10:21:44 -0000 Received: from unknown (HELO ?129.187.118.223?) (postmaster%schlueters.de@129.187.118.223) by mail4.netbeat.de with ESMTPA; 18 Oct 2007 10:21:44 -0000 To: Pierre Cc: internals@lists.php.net In-Reply-To: References: <1191237850.2903.19.camel@johannes.nop> <698DE66518E7CA45812BD18E807866CEB9528E@us-ex1.zend.net> <4701E210.70109@nohn.net> <698DE66518E7CA45812BD18E807866CEB954E9@us-ex1.zend.net> <8c631e020710171158n25b5efedt4eccf7d816331407@mail.gmail.com> <47166930.7000706@zend.com> <698DE66518E7CA45812BD18E807866CECC6469@us-ex1.zend.net> Content-Type: text/plain Date: Thu, 18 Oct 2007 12:21:42 +0200 Message-ID: <1192702902.3026.9.camel@johannes.nop> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 (2.10.3-4.fc7) Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] T_IMPORT vs. T_USE From: johannes@php.net (Johannes =?ISO-8859-1?Q?Schl=FCter?=) Hi, On Thu, 2007-10-18 at 12:08 +0200, Pierre wrote: > I would prefer Stan's patch to allow keyword to be used as > class/method/function name. At the very least (the patch has > unsolvable issues), I have to agree with Andi, we should just go with > "use" (codesearch returns less than 10 results :). The point about using "use" is that "use" is already a reserved keyword in PHP - therefore we can't break anything by using "use" for namespaces. So in this single case we have a chance of using a keyword withou breaking anything (while we still might break stuff due to the "namespace" keyword) :-) johannes