diff --git a/language/operators.xml b/language/operators.xml index 7c7bb8a736..a87fb1faeb 100644 --- a/language/operators.xml +++ b/language/operators.xml @@ -1,5 +1,5 @@ - + Operators @@ -604,6 +604,7 @@ echo "Should be 4: " . $a . "
\n"; 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. Arithmetric Operations on Character Variables @@ -629,11 +630,6 @@ AC - - - Character variables can be incremented but not decremented. - -