note 86584 rejected from language.oop5.abstract by thiago
| From: | thiago@php.net | Date: | Fri, 24 Oct 2008 19:56:55 +0000 |
| Subject: | note 86584 rejected from language.oop5.abstract by thiago | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-145718@lists.php.net to get a copy of this message | ||
Note Submitter: php dot net at xvolter dot com
----
Is it possible to have a class that extends upon two classes, such as
<?php
abstract class A {
public function AA() {
return false;
}
}
abstract class B{
public function BB() {
return true;
}
}
class C extends A, B {
}
?>
I have seen many examples of <?php class C implements D, E, F ... {} ?> but I haven't
been able to find a way to extend a class with two others.