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 issue with calling a unique, non-persistent method
[hiphop-php.git]
/
hphp
/
test
/
slow
/
hhbbc
/
private_ancestor_002.php
blob
63f64277db0b087fa2d7a0179cb699ab4e69c022
1
<
?php
2
3
class
X
{
private function
go
(&
$x
) {} }
4
class
N
extends
X
{
5
function
__call
(
$x
,
$y
) {
echo
"ok
\n
"
; }
6
}
7
8
function
main
(
X
$y
) {
9
$asd
=
'asd'
;
10
return
$y
->
go
(
$asd
);
11
}
12
13
main
(
new
N
);