Revert wrong modification.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338190 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
André Luis Ferreira da Silva Bacci 2015-11-27 14:46:55 +00:00
parent 0c64ee7008
commit f8732f08c5

View file

@ -1788,7 +1788,7 @@ echo "Should be 4: " . $a . "<br />\n";
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.