Arquivos
hhvm/hphp/test/quick/crossUnitRefs.php
T
ptarjan 503f75d08b Rename test directories
These names don't make sense now that we run both suites the same
way.
2013-04-17 09:06:51 -07:00

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();