Hi!
trait MyDebug { local $counter = 1;
IIRC we don't have keyword "local". Why not "private" or "static"?
class MyClock { use MyDebug *; use MyTicks { timeInTicks = inTicks;
This looks like code which does assignment. How I am supposed to understand from it that a new method for MyClock API is born?
In any case, why you need timeInTicks at all? If you need it public, why not write an accessor? It'd be better OO anyway, since MyClock's clients can't know about MyTicks's details or even its existence.
-- Stanislav Malyshev, Zend Software Architect [EMAIL PROTECTED] http://www.zend.com/ (408)253-8829 MSN: [EMAIL PROTECTED] -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php