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
/
byref2.php
blob
3c0883cadc290ac8b84cacdc598a4f25c319e491
1
<
?hh
2
3
function
id
(&
$x
) {
return
$x
; }
4
function
main
() {
5
$y
=
12
;
6
$w
=&
id
(&
$y
);
7
$w
=
7
;
8
echo
$y
;
9
echo
"
\n
"
;
10
}
11
main
();