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
[Back to original message]
|