Posted by Jochem Maas on 03/02/05 04:17
Jason Barnett wrote:
> Gavin Roy wrote:
> ...
>
>>Is this a bug, or a new intended behavior?
>>
>>Gavin
>
>
> To get the long answer you can search through the php.internals list for
> this topic. The short answer is: this is the new intended behavior.
>
the short reason(ing) is it doesn't make sense to implement an interface
on something that isn't an object (i.e. a class). assume object == car, and
class == idea, an idea can't have a steering wheel interface because its not
a 'thing' (as such).
if you have a collection of singleton objects that all implement a public
interface then should those objects be singletons at all?
[Back to original message]
|