public function myFunc() { // But still call the parent function parent::myFunc(); echo "OtherClass::myFunc()\n"; $this->myFunc2(); }