Finding the answer to this is turning out to be much more difficult than I would have thought. Since I don't have a clue what you'd call this, it's hard to run a Google search since it will ignore those characters.
I tried browsing the PHP Assignment Operators page, and even the other operators pages, and found nothing that told me exactly what they do. I don't just want to guess based on the single function I have that uses it. So what exactly do the '&=' and '=&' operators do?
All I know is it sets a variable, which would be the '=' part, so I really need to know what the '&' part is doing.
Please don't say the obvious; I need someone to explain exactly what they do. I know one of them is 'bitwise', but that doesn't mean anything to me.
$a = &$b
, but I guess the space between the=
and&
are optional. php.net/manual/en/language.references.whatdo.php – Lèse majesté$a = &$b
. It's much clearer, because the&
does not belong to the equal sign, but the variable actually. It's similar toa --> 0
"goes to" operator, which in reality isa-- > 0
. stackoverflow.com/q/1642028/985454 So much to the confusement. – Qwerty