ifubad Posted September 5, 2009 Share Posted September 5, 2009 The following interface, because it starts with "interface", is that considered as a programmer defined interface, and not PHP's predefined interface? Book I am reading is getting me confused. Thank in advance <?php interface Iterator{ public function current(); public function key(); public function next(); public function rewind(); public function valid(); } ?> Link to comment https://forums.phpfreaks.com/topic/173191-clarification-on-creating-an-interface-vs-using-a-predefined-interface/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.