Re: Class in PHP
| From: | Roko Roic | Date: | Thu, 06 Dec 2001 07:50:56 +0000 |
| Subject: | Re: Class in PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-76837@lists.php.net to get a copy of this message | ||
"Wee Chua" <Chua@mail.interclean.com> wrote in message
news:C823AC1DB499D511BB7C00B0D0F0574C08F212@mail.interclean.com...
> Hi all,
> How many extension of subclass can PHP have? Can I extend subclass to more
> different subclass?
I didn't really understand the question, but maybe this is it.
PHP class can extend only one parent class. i.e.
class Foo extends Bar {
} file://is ok
whereas
class Foo extends Bar,Cafe {
} file://does not work but maybe will in Zend 2.0 engine
Roko