Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:40797 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 25964 invoked from network); 30 Sep 2008 03:25:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Sep 2008 03:25:34 -0000 Authentication-Results: pb1.pair.com smtp.mail=danielc@analysisandsolutions.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=danielc@analysisandsolutions.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain analysisandsolutions.com from 166.84.1.73 cause and error) X-PHP-List-Original-Sender: danielc@analysisandsolutions.com X-Host-Fingerprint: 166.84.1.73 mail2.panix.com Received: from [166.84.1.73] ([166.84.1.73:52432] helo=mail2.panix.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 19/5A-36431-D2C91E84 for ; Mon, 29 Sep 2008 23:25:34 -0400 Received: from panix3.panix.com (panix3.panix.com [166.84.1.3]) by mail2.panix.com (Postfix) with ESMTP id B6EDB3481A for ; Mon, 29 Sep 2008 23:25:31 -0400 (EDT) Received: by panix3.panix.com (Postfix, from userid 14662) id BF9A28FDDE; Mon, 29 Sep 2008 23:25:31 -0400 (EDT) Date: Mon, 29 Sep 2008 23:25:31 -0400 To: PHP Internals List Message-ID: <20080930032531.GA13428@panix.com> References: <48D7F5EF.3090202@zend.com> <48D89F12.5050007@zend.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48D89F12.5050007@zend.com> User-Agent: Mutt/1.5.18 (2008-05-17) Subject: Re: [PHP-DEV] namespace issues From: danielc@analysisandsolutions.com (Daniel Convissor) On Tue, Sep 23, 2008 at 11:47:30AM +0400, Dmitry Stogov wrote: > Stanislav Malyshev wrote: > > > > 3. Functions will not be allowed inside namespaces. We arrived to > > conclusion that they are much more trouble than they're worth, and > > summarily we would be better off without them. Most of the functionality > > could be easily achieved using static class methods, and the rest may be > > emulated with variable function names, etc. > > > > Comments? > > 3. In case we remove functions we also need to remove constants as they > have exactly the same ambiguity problems. Classes inside name spaces raise the same issue: The currently proposed operator is a major problem. Thanks, --Dan -- T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y data intensive web and database programming http://www.AnalysisAndSolutions.com/ 4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409