Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:32919 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 66251 invoked by uid 1010); 22 Oct 2007 23:21:21 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 66236 invoked from network); 22 Oct 2007 23:21:21 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Oct 2007 23:21:21 -0000 Authentication-Results: pb1.pair.com smtp.mail=helly@php.net; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=helly@php.net; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 85.214.94.56 as permitted sender) X-PHP-List-Original-Sender: helly@php.net X-Host-Fingerprint: 85.214.94.56 aixcept.net Linux 2.6 Received: from [85.214.94.56] ([85.214.94.56:50829] helo=h1149922.serverkompetenz.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0C/62-54812-F603D174 for ; Mon, 22 Oct 2007 19:21:20 -0400 Received: from MBOERGER-ZRH.corp.google.com (cpe-72-229-4-213.nyc.res.rr.com [72.229.4.213]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by h1149922.serverkompetenz.net (Postfix) with ESMTP id 17DCD1B3552; Tue, 23 Oct 2007 01:21:15 +0200 (CEST) Date: Tue, 23 Oct 2007 01:20:43 +0200 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <1934990173.20071023012043@marcus-boerger.de> To: Gregory Beaver CC: Stanislav Malyshev , 'PHP Internals' In-Reply-To: <471D2FDC.8010505@chiaraquartet.net> References: <471D1600.2030603@zend.com> <471D2FDC.8010505@chiaraquartet.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: import/use last call From: helly@php.net (Marcus Boerger) Hello Gregory, even if you can solve it easily your patch will not solve the fact that we won't have a token for that keyword the, or am i missing something? marcus Tuesday, October 23, 2007, 1:18:52 AM, you wrote: > 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 Best regards, Marcus