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
/
double-array-get.php
blob
53aff6d23c1d7c619c9b2f485c5bb4b43e4962d1
1
<
?hh
/* @generated by make_suite.sh */
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
]]));