You are here: Re: [PHP] Re: PHP 5.1 CVS Interface Question « PHP « IT news, forums, messages
Re: [PHP] Re: PHP 5.1 CVS Interface Question

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?

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация