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
/
tuple
/
tests
/
inout_param_mixed_hint.php
blob
f94bd36e1d967f4d1fdf0f3e00ae11c832796f55
1
<
?hh
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
();