repo.or.cz
/
hiphop-php.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix memoization of functions called with keyset arguments
[hiphop-php.git]
/
hphp
/
test
/
quick
/
priv3.php
blob
191008ba5b5b3445bb677e2bb8289c1c4388529c
1
<
?php
2
class
C
{
3
private function
foo
() {
4
echo
"C::foo
\n
"
;
5
}
6
public function
test
() {
7
// This should not call C::foo, it should fatal
8
D
::
foo
();
9
}
10
}
11
class
D
extends
C
{
12
private function
foo
() {
13
echo
"D::foo
\n
"
;
14
}
15
}
16
$obj
=
new
D
;
17
$obj
->
test
();