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
Updating submodules
[hiphop-php.git]
/
hphp
/
test
/
slow
/
type_constant3.php
blob
67950ea62e1daf943eab46e9d252c713aca0912a
1
<
?hh
2
3
trait T1
{
4
abstract const
type T
=
int
;
5
}
6
7
interface
I
{
8
const
type T
=
string
;
9
}
10
11
class
C
implements
I
{
12
use
T1
;
13
}
14
15
<<
__EntryPoint
>>
16
function
main
() {
17
var_dump
(
type_structure
(
C
::
class
,
'T'
));
18
}