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
Constraints for function arguments
[hiphop-php.git]
/
hphp
/
hack
/
test
/
shape_analysis
/
simplify_constraints
/
break.php
blob
0253edd9aba59d66a027054032dc51a5bfae868f
1
<
?hh
2
3
function
f
():
void
{
4
$b
=
true
;
5
$d
=
dict
[];
6
while
(
$b
) {
7
$d
[
'a'
] =
true
;
8
inspect
(
$d
);
9
break
;
10
$d
[
'b'
] =
42
;
11
inspect
(
$d
);
12
}
13
$d
[
'c'
] =
42.0
;
14
inspect
(
$d
);
15
}
16
17
function
inspect
(
mixed
$_
):
void
{}