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
global statement removal: hphp/test [7/x]
[hiphop-php.git]
/
hphp
/
test
/
quick
/
method3.php
blob
504d3c4f17244da5fe5e77212aaa7f8853ca0210
1
<
?hh
2
3
abstract class
A
{
4
protected abstract function
foo
();
5
}
6
7
class
B
extends
A
{
8
protected function
foo
() {
9
echo
"B::foo
\n
"
;
10
}
11
}
12
13
class
C
extends
A
{
14
function
foo
() {
15
$b
=
new
B
;
16
$b
->
foo
();
17
}
18
}
19
20
$c
=
new
C
;
21
$c
->
foo
();