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
Add max limit for coeffect violations
[hiphop-php.git]
/
hphp
/
test
/
slow
/
coeffects
/
max-1.php
blob
b0ad4104f1350d8a437ba5c0c8e5ae187c958c11
1
<
?hh
2
3
function
defaults
() {}
4
5
<<
__EntryPoint
>>
6
function
pure
()[] {
7
for
(
$i
=
0
;
$i
<
10
;
$i
++
) {
8
defaults
();
9
}
10
echo
"done
\n
"
;
11
}