Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:40355 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 74704 invoked from network); 8 Sep 2008 17:47:00 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Sep 2008 17:47:00 -0000 X-Host-Fingerprint: 24.247.219.180 24-247-219-180.dhcp.cdwr.mi.charter.com Received: from [24.247.219.180] ([24.247.219.180:4217] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F4/39-33249-21565C84 for ; Mon, 08 Sep 2008 13:46:59 -0400 Message-ID: To: internals@lists.php.net Date: Mon, 08 Sep 2008 13:47:26 -0400 User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 References: <486FA5FB.1000300@php.net> <48C55855.4080602@zend.com> <48C5624A.1040901@zend.com> In-Reply-To: <48C5624A.1040901@zend.com> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Posted-By: 24.247.219.180 Subject: Re: towards a 5.3 release From: auroraeosrose@gmail.com (Elizabeth M Smith) Stanislav Malyshev wrote: > Hi! > >> I am mainly baseing myself on the feedback I got at: >> http://pooteeweet.org/blog/1288 > > OK, will read through it. > >> I think Liz summarized the gripes best (especially the second >> paragraph is important to note): >> "I've been using namespaces since then went into 5.3. From my >> experience functions in namespaces are basically unusable (you can't >> alias in a function like you can a class from a namespace - plus >> there's the ambiguity issue with static methods). > > Ambiguity seems to be unavoidable, unfortunately - that's why initial > version didn't have functions. But I'm not sure about "alias in" comment > - what exactly is meant here? Did you understand it? If you have you can have it "feel" like it's in the current namespace You have a function This doesn't work at all The closest you can do is which kind of defeats the purpose of having functions in namespaces at all, why not just use a class with static methods at this point. Thanks, Elizabeth