Posted by Tony Marston on 12/02/06 12:02
"Jerry Stuckle" <jstucklex@attglobal.net> wrote in message
news:WfCdnZi7SJhguO3YnZ2dnUVZ_u6dnZ2d@comcast.com...
> 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.
They also contradict what you say, and you can't see that.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
[Back to original message]
|