Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:32504 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 22071 invoked by uid 1010); 30 Sep 2007 16:10:06 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 22056 invoked from network); 30 Sep 2007 16:10:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Sep 2007 16:10:06 -0000 Authentication-Results: pb1.pair.com header.from=news@sea.gmane.org; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=php-php-dev@m.gmane.org; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain m.gmane.org designates 80.91.229.2 as permitted sender) X-PHP-List-Original-Sender: php-php-dev@m.gmane.org X-Host-Fingerprint: 80.91.229.2 main.gmane.org Linux 2.5 (sometimes 2.4) (4) Received: from [80.91.229.2] ([80.91.229.2:40053] helo=ciao.gmane.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AC/C0-14886-C5ACFF64 for ; Sun, 30 Sep 2007 12:10:05 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Ic1Lh-000055-C0 for internals@lists.php.net; Sun, 30 Sep 2007 16:08:53 +0000 Received: from p5088f15b.dip.t-dialin.net ([80.136.241.91]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 30 Sep 2007 16:08:53 +0000 Received: from sb by p5088f15b.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 30 Sep 2007 16:08:53 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: internals@lists.php.net Date: Sun, 30 Sep 2007 18:06:52 +0200 Lines: 16 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: p5088f15b.dip.t-dialin.net User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) Sender: news Subject: T_IMPORT vs. T_USE From: sb@sebastian-bergmann.de (Sebastian Bergmann) When we removed the namespace implementation that was scheduled for PHP 5.0 before PHP 5.0's release we kept the T_NAMESPACE and T_USE tokens for forward-compatibility. The new namespace implementation in HEAD and PHP_5_3 uses the the new T_IMPORT token instead of T_USE thus breaking code as "import" is now a reserved word. We should, IMHO, drop T_IMPORT and change the namespace implementation to use T_USE. Thoughts? -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69