Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:35814 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 55269 invoked by uid 1010); 27 Feb 2008 12:27:48 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 55253 invoked from network); 27 Feb 2008 12:27:48 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Feb 2008 12:27:48 -0000 Authentication-Results: pb1.pair.com header.from=rquadling@googlemail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=rquadling@googlemail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain googlemail.com designates 209.85.146.178 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: rquadling@googlemail.com X-Host-Fingerprint: 209.85.146.178 wa-out-1112.google.com Received: from [209.85.146.178] ([209.85.146.178:53502] helo=wa-out-1112.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C8/9C-63317-04755C74 for ; Wed, 27 Feb 2008 07:27:48 -0500 Received: by wa-out-1112.google.com with SMTP id l24so3027774waf.17 for ; Wed, 27 Feb 2008 04:27:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=CiHdjQOhdzk5Kao5Lc7ZgG+eWY8p/8cf0Ni1JgLXJQc=; b=eHAu/Md/MYCGA7Z+/zobvQ4et9kZOXJOvIt6J9WQgaUSmZOoiJ+5M6OU/H+7RQqsIfi27wW7/eJm+3Pg03WDvbPOrdHn8Y8Wx1N1pYRPcB071bk62AFLhM7gwX+VI0/cab/CbqTFSfowSfuY3KvbDq1DgV0Uhsw5ZcVjboqjdu4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=JLpnIxUTNqjrpGbROMy/bkzGTwQsf6Z3xuEl/0+obsYW67bwT4FlOslvmb837qFCcssWzq/1mwUirr1VrcgYqCzO9rVoGw+vet9VCqkp2Qv8Wkwl0bawedIBPf3+IGchGdJCXtKFl4FNVCGsgKetptYh4ieXUH1lIRIC/JU1hx4= Received: by 10.114.121.1 with SMTP id t1mr7265291wac.67.1204115262316; Wed, 27 Feb 2008 04:27:42 -0800 (PST) Received: by 10.114.209.15 with HTTP; Wed, 27 Feb 2008 04:27:42 -0800 (PST) Message-ID: <10845a340802270427n1734922fl9cb2bb504edfa4ab@mail.gmail.com> Date: Wed, 27 Feb 2008 12:27:42 +0000 Reply-To: RQuadling@GoogleMail.com To: "Joshua Thompson" Cc: internals@lists.php.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <47C317F4.2080301@stefan-marr.de> Subject: Re: [PHP-DEV] Re: How to build a real Trait thing without exclusion and renaming From: rquadling@googlemail.com ("Richard Quadling") On 27/02/2008, Joshua Thompson wrote: > > // now to the questions > $talker = new Talker(); > echo $talker->talk(); // What does this echo? My assumption is 'B'. > echo $talker->bigTalk(); // How about this? > echo $talker->smallTalk(); // This should be 'b'. Wouldn't traits as namespaces solve this? It seems like an ideal solution. -- ----- Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 "Standing on the shoulders of some very clever giants!"