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
global statement removal: hphp/test [7/x]
[hiphop-php.git]
/
hphp
/
test
/
quick
/
setop-refleak.php
blob
a05058a31d3152e4d931b9cfba6c58fcfde391ab
1
<
?php
2
3
class
Dtor
{
4
}
5
6
class
Foo
{
public
$bug
; };
7
8
function
main
() {
9
$x
=
new
Foo
;
10
$x
->
bug
=
new
Dtor
;
11
$x
->
bug +
=
12
;
12
var_dump
(
$x
);
13
}
14
15
main
();
16
echo
"done
\n
"
;