Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:32918 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 64451 invoked by uid 1010); 22 Oct 2007 23:15:04 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 64436 invoked from network); 22 Oct 2007 23:15:04 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Oct 2007 23:15:04 -0000 Authentication-Results: pb1.pair.com header.from=greg@chiaraquartet.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=greg@chiaraquartet.net; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain chiaraquartet.net from 38.99.98.18 cause and error) X-PHP-List-Original-Sender: greg@chiaraquartet.net X-Host-Fingerprint: 38.99.98.18 beast.bluga.net Linux 2.6 Received: from [38.99.98.18] ([38.99.98.18:50557] helo=mail.bluga.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CE/12-54812-7FE2D174 for ; Mon, 22 Oct 2007 19:15:03 -0400 Received: from mail.bluga.net (localhost.localdomain [127.0.0.1]) by mail.bluga.net (Postfix) with ESMTP id 8C226C0F793; Mon, 22 Oct 2007 16:15:00 -0700 (MST) Received: from [192.168.0.106] (CPE-76-84-13-199.neb.res.rr.com [76.84.13.199]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.bluga.net (Postfix) with ESMTP id 3CFA7C0D8F1; Mon, 22 Oct 2007 16:15:00 -0700 (MST) Message-ID: <471D2FDC.8010505@chiaraquartet.net> Date: Mon, 22 Oct 2007 18:18:52 -0500 User-Agent: Thunderbird 1.5.0.13 (X11/20070824) MIME-Version: 1.0 To: Stanislav Malyshev CC: 'PHP Internals' References: <471D1600.2030603@zend.com> In-Reply-To: <471D1600.2030603@zend.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Subject: Re: import/use last call From: greg@chiaraquartet.net (Gregory Beaver) Stanislav Malyshev wrote: > Hi all! > > Since many packages (wordpress, propel, horde, phing, etc.) use "import" > as either class or function name, and we couldn't find a good solution > to make it work with import keyword without going into all kinds of > troublesome hacks, so we are thinking about replacing 'import' keyword > with 'use' keyword, which is already reserved. > > If you know any reason why this may be a problem - please speak now (or > forever hold your peace :). Please do not answer this email with > proposals to replace 'namespace' keyword with 'package', etc. - it will > be offtopic. For this topic please let's discuss only using keyword > 'use' instead of 'import'. Hold off for a bit - I may have a simple solution that solves the problem for class names, method names and functions, have to code the patch tonight first to prove it works. Greg