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
/
interface7.php
blob
da2ef83c66919fe459807a338fa986a7bd82f9e9
1
<
?hh
2
3
print
"Test begin
\n
"
;
4
5
interface
I
{
6
public function
foo
(
$x
,
$y
);
7
}
8
class
C
implements
I
{
9
public function
foo
(
$x
) {
10
echo
'Hello '
.
$x
.
"
\n
"
;
11
}
12
}
13
$o
=
new
C
;
14
$o
->
foo
(
"5"
);
15
16
print
"Test end
\n
"
;