What do "=&" / "&=" operators in PHP mean? Where can I read information about them?
Searching Google doesn't help.
Answer
$a &= $b
is short for $a = $a & $b
which is the bitwise-and operator.
$a =& $b
assigns $a as a reference to $b.
What do "=&" / "&=" operators in PHP mean? Where can I read information about them?
Searching Google doesn't help.
Answer
$a &= $b
is short for $a = $a & $b
which is the bitwise-and operator.
$a =& $b
assigns $a as a reference to $b.
Those brackets declare an empty, inline constructor. In that case, with them, the constructor does exist, it merely does nothing more than t...
No comments:
Post a Comment