| derick@php.net 2006-10-14, 7:56 am |
| 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
|