503f75d08b
These names don't make sense now that we run both suites the same way.
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();
|
|
|