Fix memoization of functions called with keyset arguments
[hiphop-php.git] / hphp / test / quick / priv3.php
blob191008ba5b5b3445bb677e2bb8289c1c4388529c
1 <?php
2 class C {
3 private function foo() {
4 echo "C::foo\n";
6 public function test() {
7 // This should not call C::foo, it should fatal
8 D::foo();
11 class D extends C {
12 private function foo() {
13 echo "D::foo\n";
16 $obj = new D;
17 $obj->test();