|
Posted by Steve on 11/09/07 14:42
"joshuajnoble" <joshuajnoble@gmail.com> wrote in message
news:1194618918.690991.128490@v23g2000prn.googlegroups.com...
> Is there any difference between doing:
>
> $var & 0x80;
doesn't not effect the value of $var.
> and
>
> $var &= 0x80;
assigns the result of ($var & 0x80) to $var.
> I've seen the second, using the &= in production code, but on my local
> machine it errors out. Any thoughts?
what error message are you getting?
Navigation:
[Reply to this message]
|