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
Move unit into PreTypeAlias
[hiphop-php.git]
/
hphp
/
test
/
slow
/
array_escalation
/
303.php
blob
bdedc3fc9397c98a389806cd47689f5627b0bfe3
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
=
__hhvm_intrinsics\
dummy_cast_to_kindofarray
(
varray
[
'test'
]);
11
$a
[
2
] =
'test'
;
12
var_dump
(
$a
);
13
}