#39159 [Opn->Bgs]: Error on Bitwise Operators

From: Date: Sat, 14 Oct 2006 10:45:49 +0000
Subject: #39159 [Opn->Bgs]: Error on Bitwise Operators
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969374206@lists.php.net to get a copy of this message
ID: 39159 Updated by: derick@php.net Reported By: lturmelle at guamcell dot com -Status: Open +Status: Bogus Bug Type: Documentation problem PHP Version: Irrelevant New Comment: Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php why? 49 is bin 110001 58 is bin 111001 110001 ^ 111001 = 001000 = ascii 8 = the backspace character. Previous Comments: ------------------------------------------------------------------------ [2006-10-14 10:41:07] lturmelle at guamcell dot com Description: ------------ Example says: echo "12" ^ "9"; // Outputs the Backspace character (ascii 8) // ('1' (ascii 49)) ^ ('9' (ascii 57)) = #8 the "12" should be "1" ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=39159&edit=1

« previous php.doc (#969374206) next »