Re: [PHP] Re: Polymorphism in PHP

2002-02-18 Thread Lars Torben Wilson
On Mon, 2002-02-18 at 12:12, Richard Fox wrote: > That's right, the difference between C++ "pure virtual" and "virtual" is > that a virtual function has an implementation but pure virtual only defines > an interface. > > But can we get back to my original PHP question: Can I do something like the

RE: [PHP] Re: Polymorphism in PHP

2002-02-18 Thread Rick Emery
: Polymorphism in PHP That's right, the difference between C++ "pure virtual" and "virtual" is that a virtual function has an implementation but pure virtual only defines an interface. But can we get back to my original PHP question: Can I do something like the foll

[PHP] Re: Polymorphism in PHP

2002-02-18 Thread Richard Fox
That's right, the difference between C++ "pure virtual" and "virtual" is that a virtual function has an implementation but pure virtual only defines an interface. But can we get back to my original PHP question: Can I do something like the following in php: class Base { function Foo() { echo