Possible Duplicate:
Reference - What does this symbol mean in PHP?
When I use a function I use standard return statements.
I mean by that that I usually either return true
or false
or a variable. Nevertheless I am currently following a tutorial which I understand pretty well beside the return of the here below function.
I do not get how to read the question mark the two dots....
public function someFunction()
{
return null === $this->anAttribute ? null : $this->aFunction();
}