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.
 
 

13 lines
161 B

class Program {
private void add_by_ref(int &$val) {
$val += 7;
}
public void main() {
int $num = 7;
$this->add_by_ref($num);
var_dump($num);
}
}