tags:

views:

242

answers:

1

what do "=&" / "&=" operators in php mean? where can I read info about them? searching google doesn't help

+16  A: 

$a &= $b is short for $a = $a & $b which is the bitwise-and operator.

$a =& $b assigns $a as a reference to $b.

For more information, consult Google.

orlandu63
or php.net: http://www.php.net/manual/en/language.operators.bitwise.php
stefita
he said he couldn't find it on google.
geowa4
thats it! thanks a lot :)
it's hard to google for special characters :)
Michael Krelin - hacker
Michael Krelin - hacker
Also on php.net: See the "References Explained" section.
GZipp
@hacker: Using a common name for the special character usually works well, e.g. "ampersand php".
GZipp
GZipp, haven't tried that, but well, makes sense.
Michael Krelin - hacker
thanx everybody for the advices
http://www.php.net/manual/en/language.references.whatdo.php more explanations on references.
Colin Hebert