|
Posted by Steve on 11/09/07 18:11
"Darko" <darko.maksimovic@gmail.com> wrote in message
news:1194624540.774587.257620@o3g2000hsb.googlegroups.com...
> On Nov 9, 3:35 pm, joshuajnoble <joshuajno...@gmail.com> wrote:
>> Is there any difference between doing:
>>
>> $var & 0x80;
>>
>> and
>>
>> $var &= 0x80;
>>
>> I've seen the second, using the &= in production code, but on my local
>> machine it errors out. Any thoughts?
>
> $var &= 0x80 <=> $var = $var & 0x80
perhaps <=> is a non-standard equality to the op. you mean that both
accomplish the same thing...they are just two different ways of writing the
same thing, right?
Navigation:
[Reply to this message]
|