>The PHP development team is usually against these kinds of OOP syntax sugar >additions, search Google / the archives for:
I don't think this is syntactic sugar, it goes deeper into the language than that if done right. I like your userland implementation, but it will get slow once you start walking inheritance trees. It does provide me with a forwards-compatible way to do it though (in case the dev team ever do take up the idea of building it in to the language...). Hmm. Could cache the results I suppose. Duncan -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php