Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:32534 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 80086 invoked by uid 1010); 2 Oct 2007 06:26:24 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 80070 invoked from network); 2 Oct 2007 06:26:24 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Oct 2007 06:26:24 -0000 Authentication-Results: pb1.pair.com smtp.mail=andi@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=andi@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.162 as permitted sender) X-PHP-List-Original-Sender: andi@zend.com X-Host-Fingerprint: 212.25.124.162 mail.zend.com Windows 2000 SP4, XP SP1 Received: from [212.25.124.162] ([212.25.124.162:4620] helo=mx1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7C/16-20520-F84E1074 for ; Tue, 02 Oct 2007 02:26:24 -0400 Received: from us-ex1.zend.com ([192.168.16.5]) by mx1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 2 Oct 2007 08:26:20 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Mon, 1 Oct 2007 23:26:15 -0700 Message-ID: <698DE66518E7CA45812BD18E807866CEB954E9@us-ex1.zend.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PHP-DEV] T_IMPORT vs. T_USE Thread-Index: AcgEvC+tElxAXh48TxCyU0a9cjbiOAAAKrEA References: <1191237850.2903.19.camel@johannes.nop> <698DE66518E7CA45812BD18E807866CEB9528E@us-ex1.zend.net> <4701E210.70109@nohn.net> To: "Sebastian Nohn" Cc: =?iso-8859-1?Q?Johannes_Schl=FCter?= , "Sebastian Bergmann" , X-OriginalArrivalTime: 02 Oct 2007 06:26:20.0244 (UTC) FILETIME=[25600940:01C804BD] Subject: RE: [PHP-DEV] T_IMPORT vs. T_USE From: andi@zend.com ("Andi Gutmans") Of course not (and I know we use import in a few places in ZF) which is = why I want to see whether it makes sense to allow reserved words. The = basic parsing rule would be easy but we need to check how many other = areas this might affect. Wouldn't want to introduce any more = inconsistencies. If it ends up being too much of a bother we can just = end up using "use". =09 Andi > -----Original Message----- > From: Sebastian Nohn [mailto:sebastian@nohn.net] > Sent: Monday, October 01, 2007 11:16 PM > To: Andi Gutmans > Cc: Johannes Schl=FCter; Sebastian Bergmann; internals@lists.php.net > Subject: Re: [PHP-DEV] T_IMPORT vs. T_USE >=20 > Andi Gutmans wrote: > > Hi Johannes, > > Our preference would be to stick to "import" because I think the > perception many will have of "use" is that it also includes files = (just > based on some other languages). That said I agree that compatibility > would be an issue here. In fact it's even somewhat of an issue with > "namespace" which is probably also used quite a bit esp. in relation = to > XML. >=20 > I don't think people will care much about use vs. import > perception-wise. But they will care a lot if it breaks their software. > Just to name two popular products that will break (Johannes can for > sure > tell more, he googled for it): Serendipity & Zend Framework. At least > breaking the latter should not be "your" preference, I hope. >=20 > - Sebastian >=20 > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php