note 86584 added to language.oop5.abstract
| From: | php dot net at xvolter dot com | Date: | Fri, 24 Oct 2008 19:55:16 +0000 |
| Subject: | note 86584 added to language.oop5.abstract | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-145717@lists.php.net to get a copy of this message | ||
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.
----
Server IP: 208.69.120.35
Probable Submitter: 72.43.63.136
----
Manual Page -- http://www.php.net/manual/en/language.oop5.abstract.php
Edit -- https://master.php.net/note/edit/86584
Del: integrated -- https://master.php.net/note/delete/86584/integrated
Del: useless -- https://master.php.net/note/delete/86584/useless
Del: bad code -- https://master.php.net/note/delete/86584/bad+code
Del: spam -- https://master.php.net/note/delete/86584/spam
Del: non-english -- https://master.php.net/note/delete/86584/non-english
Del: in docs -- https://master.php.net/note/delete/86584/in+docs
Del: other reasons-- https://master.php.net/note/delete/86584
Reject -- https://master.php.net/note/reject/86584
Search -- https://master.php.net/manage/user-notes.php