Re: cvs: phpdoc /en/language variables.xml
| From: | Philip Olson | Date: | Tue, 22 Apr 2003 01:18:29 +0000 |
| Subject: | Re: cvs: phpdoc /en/language variables.xml | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969352790@lists.php.net to get a copy of this message | ||
This looks wrong to me, this little silly quirk doesn't
deserve it's own example, maybe a <note>. After looking
at the current docs I think this should simply be an
added sentence to what already exists there.
That said, this bug should turn into a feature request
for decrement of 'b' to work as opposed to being
closed. What sense does it make to go one way and
not the other?
Regards,
Philip
On Mon, 21 Apr 2003, Andrew Lindeman wrote:
> 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">
>
>
>
> --
> PHP Documentation Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>