Aer Interpreter Source
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

19 lines
208 B

class Test1 {
}
class Test2 extends Test1 {
}
class Program {
object $t;
private void test(Test1 $t = new Test2) {
$this->t = $t;
var_dump($this->t);
}
public void main() {
$this->test();
}
}