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
global statement removal: hphp/test [7/x]
[hiphop-php.git]
/
hphp
/
test
/
quick
/
inout-ref-function.php
blob
65b93db7433cca3be40a12d972b0c9fc58137c3f
1
<
?hh
2
function
func
(&
$a
, &
$b
, &
$c
):
void
{
3
print
(
"In func:
$a
,
$b
,
$c\n
"
);
4
5
}
6
7
$a
=
'hello'
;
8
$b
=
'world'
;
9
$c
=
8
;
10
func
(
11
inout
$a
,
12
inout
$b
,
13
inout
$c
,
14
);
15
print
(
"After func:
$a
,
$b
,
$c\n
"
);