ID: 19985 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: *General Issues Operating System: Unix PHP Version: 4.2.3 New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. _Make sure_ you post complete & short script. [yohgaki@dev DEV]$ cat a.php <?php $a = 1; $b = 2; $x = ($a ^ $b); var_dump($x); var_dump($b); if (($a ^ $x) != $b) { echo "NG"; } ?> [yohgaki@dev DEV]$ php a.php int(3) int(2) [yohgaki@dev DEV]$ Previous Comments: ------------------------------------------------------------------------ [2002-10-18 20:28:25] [EMAIL PROTECTED] [...] $x = $a ^ $b; if (($a ^ $x) != $b) die("that should not happen..."); [...] I know you told people in year 2000 and 2001 to use GMP, but I don't understand why a lib should be installed just to support the xor operation... ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19985&edit=1
