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
make `Switch` constructor more precise
[hiphop-php.git]
/
hphp
/
test
/
slow
/
xhp
/
class-name.php
blob
b16693c12eb659facd6de241cbb032e323414fc0
1
<
?hh
2
class
:
fb
:
thing
implements
XHPChild
{
3
const
X
=
12
;
4
}
5
6
const
T
= :
fb
:
thing
::
class
;
7
const
U
= :
fb
:
thing
::
X
;
8
9
10
<<
__EntryPoint
>>
11
function
main_class_name
() {
12
var_dump
(
U
);
13
var_dump
(
T
);
14
}