Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:41255 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 61828 invoked from network); 18 Oct 2008 16:32:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Oct 2008 16:32:49 -0000 Authentication-Results: pb1.pair.com smtp.mail=nrixham@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=nrixham@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 64.233.182.187 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: nrixham@gmail.com X-Host-Fingerprint: 64.233.182.187 nf-out-0910.google.com Received: from [64.233.182.187] ([64.233.182.187:6826] helo=nf-out-0910.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3E/B0-56627-0BF0AF84 for ; Sat, 18 Oct 2008 12:32:49 -0400 Received: by nf-out-0910.google.com with SMTP id b11so785419nfh.13 for ; Sat, 18 Oct 2008 09:32:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:reply-to :organization:user-agent:mime-version:cc:subject:references :in-reply-to:content-type:content-transfer-encoding:from; bh=mTDYKWLdJzMV5TK4mmOR12dvy9C23qXdBo1L3i2poHY=; b=tO90n+P3TydWIqt4NXb9KZ9ydkc9bOZLR5KbmkFz8BN6MdiJZRHWAJ79tKvS+ZEp1q uEI5lbFwDLP4PUBvlNYR9jQoUJ5x9ndkw5G+DQRGGWAyY3Eqmu4XuUiLHM0dlc5JrGJy qsglzZ/DmfFYsoVuGY2IaxosvcK220EEI4RAo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:reply-to:organization:user-agent:mime-version:cc :subject:references:in-reply-to:content-type :content-transfer-encoding:from; b=I1dKpPBBj+U5ciK8X15K90oWL3CsedNCLRQ4Pwj3VUJiqaejuThU55YTg/6fSQyXCo h/HFlgXyYytl5rk+thvo+qHAXLIdFmfdjm0ohVUCAWJMAmucFpYLwbSs2v0xqeJSqMng GlOGffjaw6cPofTpgCF0l6nzsiUlPUlUlGUV4= Received: by 10.210.78.16 with SMTP id a16mr896466ebb.66.1224347565595; Sat, 18 Oct 2008 09:32:45 -0700 (PDT) Received: from ?192.168.2.2? (82-41-135-70.cable.ubr02.grth.blueyonder.co.uk [82.41.135.70]) by mx.google.com with ESMTPS id g9sm10464821gvc.0.2008.10.18.09.32.44 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 18 Oct 2008 09:32:44 -0700 (PDT) Message-ID: <48FA0F78.2080204@kraya.co.uk> Date: Sat, 18 Oct 2008 17:31:52 +0100 Reply-To: nathan@kraya.co.uk Organization: Kraya Ltd User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 CC: Ronald Chmara , internals@lists.php.net, steph@php.net References: <48F86EB4.5080308@kraya.co.uk> <3E52781C-3CD6-4A44-86B7-2682EC25AEA3@opus1.com> <48F9FBDC.9030300@kraya.co.uk> <48FA051A.3060503@chiaraquartet.net> In-Reply-To: <48FA051A.3060503@chiaraquartet.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] UltraSimple Namespace Solution From: nrixham@gmail.com (Nathan Rixham) Gregory Beaver wrote: > Nathan Rixham wrote: > >> seen. Personally though I'd love to see stas' #1 get implemented and >> "->" used for all functions in a namespace so.. >> one::step::two(); //always static method of class >> one::step->two(); //always function of namespace. >> >> But it's still ambiguous (only in a rarely though) - if an object with a >> method "two" is assigned to the static variable of a class called one >> then problem comes back. >> > > First of all, this is not going to happen (voted down). Second of all > > one::$step > > is how static variables are accessed, not one::step. So there is no > potential for conflict. > > Greg > right enough; there is no conflict *joy*; and it's not introducing any new separator's into php, and I think it makes logical sense /ponders/ I've been flittering between java, as3 and php all week and ended up highly confused, ditsy and using the wrong syntax everywhere - so apologies for my ramblings! cheers for the reply; and thanks for all you're hard work on the namespaces; the RFC you wrote on the wiki really outlined the problem perfectly and made it more accessible to the masses. Many Regards Nath -- nathan ( nathan@kraya.co.uk ) { Senior Web Developer php + java + flex + xmpp + xml + ecmascript web development edinburgh | http://kraya.co.uk/ }