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
/
traits.php
blob
297ff159bd38472de345d95363a3a0d766489adb
1
<
?hh
2
const
FOO
=
123
;
3
trait T
{
4
private
$blah
=
FOO
;
5
public function
test
() {
6
var_dump
(
$this
->
blah
);
7
}
8
}
9
class
C
{
10
use
T
;
11
}
12
$obj
=
new
C
;
13
$obj
->
test
();