cvs: phpdoc /en/language variables.xml

From: Date: Mon, 21 Apr 2003 22:33:13 +0000
Subject: cvs: phpdoc /en/language variables.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969352786@lists.php.net to get a copy of this message
alindeman Mon Apr 21 18:33:13 2003 EDT Modified files: /phpdoc/en/language variables.xml Log: fix bug #6107 Index: phpdoc/en/language/variables.xml diff -u phpdoc/en/language/variables.xml:1.56 phpdoc/en/language/variables.xml:1.57 --- phpdoc/en/language/variables.xml:1.56 Sat Nov 30 11:21:10 2002 +++ phpdoc/en/language/variables.xml Mon Apr 21 18:33:13 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.56 $ --> +<!-- $Revision: 1.57 $ --> <chapter id="language.variables"> <title>Variables</title> @@ -138,6 +138,22 @@ </programlisting> </example> </para> + <para> + Note that you cannot decrement a string, only increment it. + <example> + <title>Arithmetric Operations on Character Variables (example 2)</title> + <programlisting role="php"> +<![CDATA[ +<?php +$x = 'a'; + +$x++; //$x now equals 'b' +$x--; //this doesn't work, $x still equals 'b' +?> +]]> + </programlisting> + </example> + </para> </sect1> <sect1 id="language.variables.predefined">

« previous php.doc (#969352786) next »