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
Disallow ... without type in function typehints
[hiphop-php.git]
/
hphp
/
hack
/
test
/
typecheck
/
array_mixed_strict.php
blob
7d96a78cefe09f0508dd2569fbca2da29b6b5cbd
1
<
?hh
// strict
2
3
interface
I
{}
4
class
C
implements
I
{}
5
class
D
implements
I
{}
6
7
class
Q
{
8
public array
<
I
>
$arr
;
9
public function
__construct
() {
10
$this
->
arr
=
array
(
new
C
(),
new
D
());
11
}
12
}