Zeev Suraski wrote:
How is that different from multiple inheritance?

I guess the only difference is that interfaces don't strictly
fall into a hierarchy? also interfaces don't implement properties
or class constants which would simplify matters?

anyway I guess I have to read more on the subject!
(I guess I was thinking about too simply ... mostly from a
javascript POV - which allows what to me seems a really neat mechanism
for 'hanging' functions onto objects - I realise that javascript uses
a completely different [i.e. prototypal] model which may not be even
slightly applicable to php - but hey it's what I know :-)

thanks for taking the time to answer (hope you all don't
mind to much)

kinds regards,
Jochem


Zeev

At 12:44 25/08/2005, Jochem Maas wrote:

in a totally non-academic and impure way I have always thought that it would
be nice to be able to define function bodies in interface declarations



--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to