interface cannot extend a non interfaced class?

From: Date: Fri, 16 Jul 2004 20:31:04 +0000
Subject: interface cannot extend a non interfaced class?
Groups: php.internals 
Request: Send a blank email to internals+get-11305@lists.php.net to get a copy of this message
What is the reason for why PHP5 does not allow creating an interface by extending a non "interfaced" class? The follow code produces an error saying "CMAES_Section cannot implement CMAES_DB_Section - it is not an interface in <script>" /Erik abstract class CMAES_DB_row { public funtion bar { } } class CMAES_DB_Section extends CMAES_DB_row { public funtion foo { } } interface CMAES_Section extends CMAES_DB_Section {
    public function display();
    public function fetchBoards();
}

« previous php.internals (#11305) next »