svn: /phpdoc/en/trunk/language/ operators.xml

From: Date: Tue, 26 Apr 2011 19:29:41 +0000
Subject: svn: /phpdoc/en/trunk/language/ operators.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-8007@lists.php.net to get a copy of this message
salathe Tue, 26 Apr 2011 19:29:41 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=310528 Log: decrementing, or incrementing non-A-Za-z, string variables has no effect (doc #54549) Bug: http://bugs.php.net/54549 (Open) Using $variable--; and $variable -= '1'; yield different results. Changed paths: U phpdoc/en/trunk/language/operators.xml Modified: phpdoc/en/trunk/language/operators.xml =================================================================== --- phpdoc/en/trunk/language/operators.xml 2011-04-26 19:14:35 UTC (rev 310527) +++ phpdoc/en/trunk/language/operators.xml 2011-04-26 19:29:41 UTC (rev 310528) @@ -1575,6 +1575,8 @@ (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">

« previous php.doc.cvs (#8007) next »