mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
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:
parent
0c64ee7008
commit
f8732f08c5
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue