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
global statement removal: hphp/test [7/x]
[hiphop-php.git]
/
hphp
/
test
/
quick
/
hh_softtype4.php
blob
1399b619d82b1120eb68d4dce36a13cdebc70c23
1
<
?hh
2
3
function
foo
(@(
int
,
int
)
$x
) {}
4
5
foo
(
null
);
6
foo
(
array
(
1
,
2
));
7
foo
(
array
(
1
,
2
,
3
));
// ok: typechecker validates it
8
foo
(
new
stdclass
);