Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:32851 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 15635 invoked by uid 1010); 18 Oct 2007 12:39:28 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 15606 invoked from network); 18 Oct 2007 12:39:28 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Oct 2007 12:39:28 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.198.187 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.198.187 rv-out-0910.google.com Received: from [209.85.198.187] ([209.85.198.187:56366] helo=rv-out-0910.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6B/D0-09998-BF357174 for ; Thu, 18 Oct 2007 08:39:27 -0400 Received: by rv-out-0910.google.com with SMTP id k15so138827rvb for ; Thu, 18 Oct 2007 05:39:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=SyLc9uc6EsuCR2yrmghvlt0gwS730nrb+XHoiIHVeYk=; b=SpywQ2whO0m3woFgWmfI46Z1TD3MGM3HkzGEjnCoHjVIqvy/j1ZixxlwQOwNb55W0Qu6RcO3kSt2cduJ58CqYbDeyRTHYHyrgcLnSZhWD21nR8l+HN+D37FZGyYbpHhmIS8KWC2lGq48r8eGPg9eqyYqqWbKW7wWac45wAV6FVs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=bK4f+LknFzlqvoJpZG2dWPTZTT/1Y3eBzViJfdekcKfzl+qZeqJuw+jOb5dWQT4Kddim/K/UpQXkwPkZ4a6i2m2svymkmqtIeqFTMHG7G9qCuNa9Yf2657OvBdIenS/HSWlecdmXFNHUUJo7n59i6q/jyzGz3k6gOSyOXrGYflU= Received: by 10.141.21.19 with SMTP id y19mr236554rvi.1192711157188; Thu, 18 Oct 2007 05:39:17 -0700 (PDT) Received: by 10.140.148.16 with HTTP; Thu, 18 Oct 2007 05:39:17 -0700 (PDT) Message-ID: Date: Thu, 18 Oct 2007 14:39:17 +0200 To: "=?ISO-8859-1?Q?Johannes_Schl=FCter?=" Cc: internals@lists.php.net In-Reply-To: <1192702902.3026.9.camel@johannes.nop> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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> <1192702902.3026.9.camel@johannes.nop> Subject: Re: [PHP-DEV] T_IMPORT vs. T_USE From: pierre.php@gmail.com (Pierre) Hi, On 10/18/07, Johannes Schl=FCter wrote: > 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. Oh, I missed this point. So what are we waiting for to switch? It will ease our life to test our existing code under 5.3 without having to create specific branches (or breaking bc). >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) :-) The namespace keyword is less a problem than import. It is mostly used in areas where php5+ provides native solution (for example xml or soap like in ezpublish, mostly php4 code). --Pierre