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
Remove array literals from quick tests
[hiphop-php.git]
/
hphp
/
test
/
quick
/
hh_softtype4.php
blob
d64fbc8cc5291c2ec4de0fd8ed72ea2ab22f1edd
1
<
?hh
2
3
function
foo
(@(
int
,
int
)
$x
) {}
4
<<
__EntryPoint
>>
function
main
():
void
{
5
foo
(
null
);
6
foo
(
varray
[
1
,
2
]);
7
foo
(
varray
[
1
,
2
,
3
]);
// ok: typechecker validates it
8
foo
(
new
stdclass
);
9
}