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
Disallow declarations outside of the global scope.
[hiphop-php.git]
/
hphp
/
test
/
slow
/
inout
/
msrv
/
tests
/
inout_param_mixed_hint.php
blob
7c2ecafb67bce3f4cd60b8ba8fa44d8534608a62
1
<
?hh
/* @generated by make_suite.sh */
2
3
function
foo
(
inout
mixed
$thing
) {
4
$thing
=
5
;
5
}
6
7
function
main
() {
8
$a
=
2
;
9
foo
(&
$a
);
10
var_dump
(
$a
);
11
}
12
13
main
();