363d1bb20f
This change is mostly for FB internal organizational reasons. Building is not effected beyond the fact that the target now lands in hphp/hhvm/hhvm rather than src/hhvm/hhvm.
18 linhas
269 B
PHP
18 linhas
269 B
PHP
<?php
|
|
class C {
|
|
private function foo() {
|
|
echo "C::foo\n";
|
|
}
|
|
public function test() {
|
|
// This should not call C::foo, it should fatal
|
|
D::foo();
|
|
}
|
|
}
|
|
class D extends C {
|
|
private function foo() {
|
|
echo "D::foo\n";
|
|
}
|
|
}
|
|
$obj = new C;
|
|
$obj->test();
|