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
No error on use of `unsafe_cast`
[hiphop-php.git]
/
hphp
/
hack
/
test
/
typecheck
/
naming_fail_for_2.php
blob
b20eed6ab3ab06c064097a4fd38c333a32adf9cc
1
<
?hh
// strict
2
3
function
foo
():
void
{
4
for
(;
true
;
$x
=
1
) {
5
$y
=
$x
;
6
}
7
echo
$x
;
8
}