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
/
while3.php
blob
13c9b4f0c39b9b5c1b611013d37c175bba9166b3
1
<
?hh
2
3
function
f
():
void
{
4
$d
=
dict
[
'a'
=>
42
];
5
$b
=
false
;
6
while
(
$b
) {
7
$d
=
dict
[
'b'
=>
'h'
];
8
}
9
$d
[
'c'
] =
true
;
10
inspect
(
$d
);
11
}
12
13
function
inspect
(
mixed
$_
):
void
{}