note 18842 added to language.operators.assignment

From: Date: Thu, 07 Feb 2002 07:16:51 +0000
Subject: note 18842 added to language.operators.assignment
Groups: php.notes 
Request: Send a blank email to php-notes+get-26331@lists.php.net to get a copy of this message
Please notice that the combined operators &= and |= work in binary, not in logical mode. E.g.: $a = 1; $a &= 2; evaluates as 0. $a = 1; $a |= 2; evaluates as 3. -- http://www.php.net/manual/en/language.operators.assignment.php http://master.php.net/manage/user-notes.php?action=edit+18842 http://master.php.net/manage/user-notes.php?action=delete+18842 http://master.php.net/manage/user-notes.php?action=reject+18842

« previous php.notes (#26331) next »