diff --git a/language/variables.xml b/language/variables.xml index 542d55dda5..a714394eb1 100644 --- a/language/variables.xml +++ b/language/variables.xml @@ -1,5 +1,5 @@ - + Variables @@ -109,7 +109,35 @@ $bar = &test(); // Invalid. + + 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 ). + + Arithmetric Operations on Character Variables + + +]]> + + +