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 Jerry Stuckle on 12/01/06 12:54

Michael Fesser wrote:
> .oO(Tony Marston)
>
>
>>That just tells me what interfaces ARE, but it certainly does not say that
>>interfaces are REQUIRED. It is possible to define a class method and access
>>it directly WITHOUT going through an interface, therefore an interface IS
>>NOT NECESSARY.
>
>
> Forget it. Obviously you haven't understood what interfaces in PHP are
> used for and what you can do/ensure with them. Just an example: Without
> these interfaces it wouldn't be possible to use 'foreach' to iterate
> over any arbitrary object:
>
> foreach ($directory as $file) {...}
> foreach ($resultSet as $record) {...}
>
> Micha

Micha,

Tony is just a troll who is beyond stupid. He can't even understand the
"experts" he quotes. They contradict what he says, but he can't see that.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

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

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