Re: Class in PHP
| From: | andreas at landmark dot as | Date: | Wed, 05 Dec 2001 19:53:22 +0000 |
| Subject: | Re: Class in PHP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-76773@lists.php.net to get a copy of this message | ||
On Wed, 5 Dec 2001 10:41:53 -0500 Wee Chua <Chua@mail.interclean.com> wrote:
>Hi all,
>How many extension of subclass can PHP have? Can I extend subclass to more
>different subclass?
Do you mean how deep a inheritance you can have?
e.g.
A
\
B
| \
C D
| \
E F
There is nothing wrong with doing
Class F extends D (which then in turn
inherits it's stuff from class b, etc.)
--
Get your firstname@lastname email for FREE at http://Nameplanet.com/?su