Re: Re: How to build a real Trait thing without exclusion and renaming

From: Date: Wed, 27 Feb 2008 12:27:42 +0000
Subject: Re: Re: How to build a real Trait thing without exclusion and renaming
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-35814@lists.php.net to get a copy of this message
On 27/02/2008, Joshua Thompson <spam.goes.in.here@gmail.com> wrote: > <snip> > // 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!"

« previous php.internals (#35814) next »