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.
 
 

21 lines
419 B

class Program {
public void main() {
$this->b($this->a('First A'), $this->a('Second A'), $this->a('Third A'));
}
string a(string $p) {
mixed[] $backtrace = debug_backtrace();
if(array_key_exists('args', $backtrace[0])) {
var_export($backtrace[0]['args']);
} else {
print("Cannot aquire arguments\n");
}
return $p;
}
void b(string $p1, string $p2, string $p3) {
print("$p1, $p2, $p3");
}
}