bug #18680: bitwise operators use character's ASCII values when using strings

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@155123 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Kenneth Schwartz 2004-04-01 08:25:52 +00:00
parent 7d9ce9db83
commit c1dbc50daa

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.63 $ -->
<!-- $Revision: 1.64 $ -->
<chapter id="language.operators">
<title>Operators</title>
<simpara>
@ -277,8 +277,8 @@ $b .= "There!"; // sets $b to "Hello There!", just like $b = $b . "There!";
<simpara>
Bitwise operators allow you to turn specific bits within an
integer on or off. If both the left- and right-hand parameters are
strings, the bitwise operator will operate on the characters in this
string.
strings, the bitwise operator will operate on the characters' ASCII
values.
</simpara>
<para>
<informalexample>