You are here: Re: php 5 classes: public, protected and private « PHP Programming Language « IT news, forums, messages
Re: php 5 classes: public, protected and private

Posted by Tony Marston on 12/04/06 11:11

"Michael Fesser" <netizen@gmx.de> wrote in message
news:41p6n25hg3kvfq2ag3brc9169votqrcd3c@4ax.com...
> .oO(Tony Marston)
>
>>This is a PHP newsgroup, so I am explaining how interfaces work within
>>PHP.
>
> OK, please do that, no empty promises. Please explain, what interfaces
> in PHP are and what you can do with them. Or can't do. I'm listening!
>
> Micha

It is a simple argument. In PHP interfaces are optional. I *do not* have to
define an interface before I can access a method in an object. The fact that
interfaces may have their uses in specialised circumstances does not get
away from the fact that under normal use they are optional.

--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org

 

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

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