> -----Original Message----- > From: Joshua Thompson [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 27, 2008 6:54 PM > To: internals@lists.php.net > Subject: Re: [PHP-DEV] How to build a real Trait thing without > exclusion and renaming > > I was working on a detailed RFC of something along these lines. I > didn't > include the local keyword, instead I went the route of stateful traits > and forced the definition of which scope in the class. I also tried to > keep the number of keywords to 1 (`trait`). > > I will keep working on it, and hopefully post it tomorrow for review.
OK but I wouldn't get too caught up on the number of keywords although we obviously don't want too many. By the way one thing I left out of my proposal (mistakenly) was that local can also be used on a function so that "use TraitA *" wouldn't include it in the aggregating class. Andi -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php