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
232 B
PHP
23 linhas
232 B
PHP
<?
|
|
|
|
include_once "crossUnitRefsInc.php";
|
|
|
|
|
|
class A {
|
|
public $foo;
|
|
public function f() {
|
|
inOtherUnit($this->foo, array());
|
|
}
|
|
}
|
|
|
|
function main() {
|
|
$a = new A();
|
|
$a->foo = 12;
|
|
$a->f();
|
|
|
|
inOtherUnit(1, 2);
|
|
}
|
|
|
|
main();
|
|
|