I have a class Foo{} containing a function Print() and a class FooBar{} which extends Foo{} and has its own function Print() which overrides Foo{}'s Print().
How can I invoke Foo{}'s Print() from FooBar{} ?
Jason White
Use parent:😛rint(); from inside FooBar{}
See this page for more details:
http://www.php.net/manual/en/keyword.parent.php
-sridhar
P.S. Would be interested to know for what reason you're using objects (especially inherited objects) in PHP. Perhaps C++ might be a better method since it's a LOT faster in execution?