Re: Re: PHP 5.1 CVS Interface Question
| From: | Jochem Maas | Date: | Wed, 02 Mar 2005 02:17:59 +0000 |
| Subject: | Re: Re: PHP 5.1 CVS Interface Question | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-209768@lists.php.net to get a copy of this message | ||
Jason Barnett wrote:
Gavin Roy wrote: ...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?Is this a bug, or a new intended behavior? GavinTo 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.