Re: Re: PHP 5.1 CVS Interface Question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux