RE: [PHP] Polymorphism question

2002-02-17 Thread Martin Towell
tion" has no, and can't have, and code. Please correct me if I'm wrong Martin -Original Message- From: Rick Emery [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 16, 2002 3:31 AM To: [EMAIL PROTECTED] Subject: RE: [PHP] Polymorphism question I've also done C and C++

RE: [PHP] Polymorphism question

2002-02-15 Thread Rick Emery
I've also done C and C++ since the 80's. My experience with virtual, is that there is no base implementation for a function. Rather, the function is expected to be defined in the derived class. The inheritance you describe would have a base implementation (no virtual declaration), which could b