Hello,
For the life of me I can't find the resources describing the following two operators: &=, =&
And running my own tests aren't very clear, either.
Can someone help me out?
Thanks!
Quick questions on specific operators
Moderator: General Moderators
Re: Quick questions on specific operators
$x &= $y is shorthand for $x = $x & $y, and in that situation the & acts as a bitwise AND.
$x =& $y is assignment-by-reference. Rather than $x being a copy of $y, it's a reference: the two variables are identical in basically every way.
$x =& $y is assignment-by-reference. Rather than $x being a copy of $y, it's a reference: the two variables are identical in basically every way.