Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:41456 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 5253 invoked from network); 27 Oct 2008 14:20:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Oct 2008 14:20:07 -0000 Authentication-Results: pb1.pair.com header.from=news@ger.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:38956] helo=ciao.gmane.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C8/46-34199-71EC5094 for ; Mon, 27 Oct 2008 09:20:07 -0500 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1KuSwt-0008Ko-1d for internals@lists.php.net; Mon, 27 Oct 2008 14:20:03 +0000 Received: from p5b37615a.dip.t-dialin.net ([91.55.97.90]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 27 Oct 2008 14:20:03 +0000 Received: from sb by p5b37615a.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 27 Oct 2008 14:20:03 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: internals@lists.php.net Date: Mon, 27 Oct 2008 15:18:30 +0100 Lines: 26 Message-ID: References: <49048EC1.9060908@chiaraquartet.net> <4904CE3B.2000001@chiaraquartet.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: p5b37615a.dip.t-dialin.net User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) In-Reply-To: <4904CE3B.2000001@chiaraquartet.net> Sender: news Subject: Re: [PHP-DEV] namespace separator and whining From: sb@sebastian-bergmann.de (Sebastian Bergmann) Greg Beaver schrieb: >> It was mentioned on IRC that internal functions have to be >> prefixed with \ when used in a namespaced file. Without a fallback. > > This is not true, and the unit tests demonstrate that Thank you for clearing this up. > 1) check for namespaced\functionname > 2) check for internal functionname > [...] > 1) check for namespaced\classname > 2) try to autoload namespaced\classname > 3) check for internal classname This is exactly what I would assume to happen; I am relieved. > So not all details are completely nailed down, but these are > independent of whether \ or :: or &*@$#% is used as the separator, Honestly, I do not really care about the separator and I think that \ is the best choice of the ones that were available. -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69