You are here: Re: binary and & vs &= « PHP Programming Language « IT news, forums, messages
Re: binary and & vs &=

Posted by Darko on 11/09/07 16:09

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация