Inheritance problem
| From: | Ovidiu EFTIMIE | Date: | Tue, 01 Aug 2000 09:10:54 +0000 |
| Subject: | Inheritance problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-9389@lists.php.net to get a copy of this message | ||
Hi,
On one hand I have a class session.php which extends the connexion.php class
which also extends error.php class.
On the other hand I have the socketop.php class which also extends the error
class.
When I'm including socketop and trying to instanciate the socketop class in
the session class I have "Fatal error: Cannot redeclare class socketop in
include/socketop.php on line 12". Can anyone tell me why this behavior
occured?
Thanks,
Ovidiu EFTIMIE