svn: /phpdoc/en/trunk/language/ operators.xml
| From: | André Luis Ferreira da Silva Bacci | Date: | Fri, 27 Nov 2015 14:46:55 +0000 |
| Subject: | svn: /phpdoc/en/trunk/language/ operators.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-13868@lists.php.net to get a copy of this message | ||
ae Fri, 27 Nov 2015 14:46:55 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=338190
Log:
Revert wrong modification.
Changed paths:
U phpdoc/en/trunk/language/operators.xml
Modified: phpdoc/en/trunk/language/operators.xml
===================================================================
--- phpdoc/en/trunk/language/operators.xml 2015-11-27 14:26:00 UTC (rev 338189)
+++ phpdoc/en/trunk/language/operators.xml 2015-11-27 14:46:55 UTC (rev 338190)
@@ -1788,7 +1788,7 @@
PHP follows Perl's convention when dealing with arithmetic operations
on character variables and not C's. For example, in PHP and Perl
<literal>$a = 'Z'; $a++;</literal> turns
<literal>$a</literal> into <literal>'AA'</literal>, while in C
- <literal>a = 'Z'; a++;</literal> turns <literal>$a</literal>
into <literal>'['</literal>
+ <literal>a = 'Z'; a++;</literal> turns <literal>a</literal>
into <literal>'['</literal>
(ASCII value of <literal>'Z'</literal> is 90, ASCII value of
<literal>'['</literal> is 91).
Note that character variables can be incremented but not decremented and
even so only plain ASCII alphabets and digits (a-z, A-Z and 0-9) are supported.