decrementing, or incrementing non-A-Za-z, string variables has no effect (doc #54549)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@310528 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Peter Cowburn 2011-04-26 19:29:41 +00:00
parent db64c6bb68
commit 22ac47b4fe

View file

@ -1575,6 +1575,8 @@ echo "Should be 4: " . $a . "<br />\n";
(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 characters (a-z and A-Z) are supported.
Incrementing/decrementing other character variables has no effect, the
original string is unchanged.
<example>
<title>Arithmetic Operations on Character Variables</title>
<programlisting role="php">