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