<?php
class Bar
{
public function test()
{
$this->testPrivate();
}
private function testPrivate()
{
echo "Bar::testPrivate\n";
}
}
class Foo extends Bar
{
private function testPrivate()
{
echo "Foo::testPrivate\n";
}
}
class Zot extends Foo
{
}
$myZot = new Zot();
$myZot->test(); //What would this do other than Bar::testPrivate