On 4/18/05, Wez Furlong <[EMAIL PROTECTED]> wrote: > PHP has interfaces for this kind of thing, and they're clearer/cleaner > to use than the code you've posted (for this case at least). Yea, I completely agree.
> I'm not against the idea per-se, I just can't see a really good reason > to justify it. I hate to say this, but these ideas come from the "outside world": - NUnit testing for .NET uses [Test] and [SetUp] attributes instead of hardcoding method names (like test*, setUp, in xUnit test frameworks) - ASP.NET uses WebMethod attribute for automatically exposing XML Web Services - Aspect#.NET uses attributes for aspect oriented programming stuff Speaking of AOP, I wonder if AOP features will ever be possible in PHP (I guess this deserves another thread, maybe I'll have to search archives first...) -- Hendy Irawan http://www.gauldong.net http://dev.gauldong.net -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php