At 11:26 AM 12/17/2002 +0800, Alan Knowles wrote:
It would be usefull to have a direction on this, - It's come up a number
of times in bug reports.
It has a number of uses (primarily breaking large classes up, into smaller
components..), and a clearer way to write code than using a huge
inheritance tree.. - It may not be correct OO code, by the book, but it is
usefull in certian situations.
It can be regarded as a feature, but if it is going to change at some
point in the future, it's better to make that very clear now, rather than
get a big backlash when we change it, and more people have worked out this
little trick.... (and start to rely on it...)
Technically I guess overload is the real way it should be done in ZE2.....
It should be documented that this behavior shouldn't be relied on.
There's a good chance that this will change in ZE2.
It has always been considered a bug and not a feature.
Andi
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php