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
Updating submodules
[hiphop-php.git]
/
hphp
/
test
/
slow
/
array_escalation
/
303.php
blob
52fd426ee7aff7502c6f2caea547d7f4c6f54d80
1
<
?hh
2
3
4
<<
__EntryPoint
>>
5
function
main_303
() {
6
$a
=
darray
[
0
=>
'test'
];
7
$a
[
2
] =
'test'
;
8
var_dump
(
$a
);
9
10
$a
=
darray
(
varray
[
'test'
]);
11
$a
[
2
] =
'test'
;
12
var_dump
(
$a
);
13
}