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
/
double-array-get.php
blob
ba05b252b2521dd1ea3dbcb2c1d23201bb41a90b
1
<
?hh
2
3
function
f
(
inout
$x
) {
4
return
++
$x
;
5
}
6
7
$a
=
array
(
0
,
1
,
2
);
8
$b
=
array
(
1
,
2
,
3
);
9
var_dump
(
f
(
inout
$b
[
$a
[
1
]]));