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
Refactor the parsing and processing of configuration options ... just a bit ...
[hiphop-php.git]
/
hphp
/
test
/
slow
/
traits
/
1969.php
blob
eaec931fa368dfecd1f773c47e0f8eabc4ee6b74
1
<
?php
2
3
trait MY_TRAIT
{
4
static public
$x
=
3
;
5
}
6
class
MY_CLASS
{
7
use
MY_TRAIT
;
8
public function
printX
() {
9
var_dump
(
self
::
$x
);
10
}
11
}
12
$o
=
new
MY_CLASS
;
13
$o
->
printX
();
14
?
>