--TEST-- ZE2 A derived class does not know about privates of ancestors --FILE-- priv(); } private function priv() { echo "Bar::priv()\n"; } } class Foo extends Bar { public function priv() { echo "Foo::priv()\n"; } } $obj = new Foo(); $obj->pub(); $obj->priv(); echo "Done\n"; ?> --EXPECTF-- Bar::priv() Foo::priv() Done