|  | Posted by Michael Fesser on 11/30/06 23:03 
..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
  Navigation: [Reply to this message] |