cvs: phpdoc /en/language operators.xml
| From: | Nuno Lopes | Date: | Sat, 18 Feb 2006 23:10:39 +0000 |
| Subject: | cvs: phpdoc /en/language operators.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969371990@lists.php.net to get a copy of this message | ||
nlopess Sat Feb 18 23:10:39 2006 UTC
Modified files:
/phpdoc/en/language operators.xml
Log:
fix #36280: only plain ascii characters can be incremented
http://cvs.php.net/viewcvs.cgi/phpdoc/en/language/operators.xml?r1=1.100&r2=1.101&diff_format=u
Index: phpdoc/en/language/operators.xml
diff -u phpdoc/en/language/operators.xml:1.100 phpdoc/en/language/operators.xml:1.101
--- phpdoc/en/language/operators.xml:1.100 Fri Feb 17 14:03:06 2006
+++ phpdoc/en/language/operators.xml Sat Feb 18 23:10:39 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.100 $ -->
+<!-- $Revision: 1.101 $ -->
<chapter id="language.operators">
<title>Operators</title>
<simpara>
@@ -867,7 +867,8 @@
PHP follows Perl's convention when dealing with arithmetic operations
on character variables and not C's. For example, in Perl 'Z'+1 turns
into 'AA', while in C 'Z'+1 turns into '[' ( ord('Z')
== 90, ord('[') == 91 ).
- Note that character variables can be incremented but not decremented.
+ Note that character variables can be incremented but not decremented and
+ even so only plain ASCII characters (a-z and A-Z) are supported.
<example>
<title>Arithmetic Operations on Character Variables</title>
<programlisting role="php">