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
/
objmethod.php
blob
100ec9489ec15ea146cef2e9ec23570902ac340a
1
<
?hh
2
3
trait t
{
4
public static function
f
(
$o
) {
5
$o
->
blah
();
6
}
7
}
8
9
class
c
{
10
use
t
;
11
private function
blah
() {
12
echo
"private function
\n
"
;
13
}
14
}
15
16
function
main
() {
17
$o
=
new
c
;
18
c
::
f
(
$o
);
19
t
::
f
(
$o
);
20
}
21
main
();