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
Allow defaults to call policied
[hiphop-php.git]
/
hphp
/
test
/
slow
/
rx
/
body
/
prop_write_after_dim_through_this_unset.php
blob
7f26e5e06d90aa8e3bcaf5b70d263e632a115d85
1
<
?hh
2
3
class
C
{
4
public
$p
;
5
6
public function
bad
()[
rx
] {
7
$this
->
p
=
new
stdClass
();
8
9
unset
(
$this
->
p
->
q
);
10
}
11
}
12
13
<<
__EntryPoint
>>
14
function
test
() {
15
$c
=
new
C
();
16
$c
->
bad
();
17
}