make up your mind philip ;-)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@124219 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Andy Lindeman 2003-04-22 02:38:18 +00:00
parent 8051d9a816
commit dbe443055d

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.48 $ -->
<!-- $Revision: 1.49 $ -->
<chapter id="language.operators">
<title>Operators</title>
<simpara>
@ -604,6 +604,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 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.
<example>
<title>Arithmetric Operations on Character Variables</title>
<programlisting role="php">
@ -629,11 +630,6 @@ AC
</programlisting>
</example>
</para>
<note>
<simpara>
Character variables can be incremented but not decremented.
</simpara>
</note>
</sect1>
<sect1 id="language.operators.logical">