Posted by Rik Wasmus on 11/09/07 15:00
On Fri, 09 Nov 2007 15:42:13 +0100, Steve <no.one@example.com> wrote:
> "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 &=3D 0x80;
>
> assigns the result of ($var & 0x80) to $var.
>
>> I've seen the second, using the &=3D in production code, but on my lo=
cal
>> machine it errors out. Any thoughts?
>
> what error message are you getting?
On it's own, the error would be a notice that $var is undefined.
-- =
Rik Wasmus
[Back to original message]
|