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 test/slow/rx into test/slow/coeffects/rx
[hiphop-php.git]
/
hphp
/
test
/
slow
/
coeffects
/
rx
/
body
/
second_dim_for_write_through_prop_from_this_name_expression.php
blob
f3a11b40cf944b5faaa4952fce7b39297023454a
1
<
?hh
2
3
class
C
{
4
public
$p
;
5
6
public function
bad
()[
rx
] {
7
$p1
=
new
stdClass
();
8
$p1
->
q
=
darray
[
3
=>
true
];
9
$this
->
p
=
$p1
;
10
11
$this
->
p
->{
__hhvm_intrinsics\
launder_value
(
'q'
)}[
3
] =
false
;
12
}
13
}
14
15
<<
__EntryPoint
>>
16
function
test
() {
17
$c
=
new
C
();
18
$c
->
bad
();
19
}