363d1bb20f
This change is mostly for FB internal organizational reasons. Building is not effected beyond the fact that the target now lands in hphp/hhvm/hhvm rather than src/hhvm/hhvm.
23 linhas
298 B
PHP
23 linhas
298 B
PHP
<?php
|
|
|
|
class C {
|
|
public function __destruct() {
|
|
echo "C::__destruct\n";
|
|
global $obj;
|
|
var_dump($obj);
|
|
echo "==========\n";
|
|
$obj = 1;
|
|
}
|
|
}
|
|
|
|
class D {
|
|
public function __destruct() {
|
|
echo "D::__destruct\n";
|
|
}
|
|
}
|
|
|
|
$obj = new C;
|
|
$obj = new D;
|
|
echo "****\n";
|
|
var_dump($obj);
|