mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
fix bug #6107
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@124210 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
19dbcdef66
commit
864e1edaf0
1 changed files with 17 additions and 1 deletions
|
@ -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 @@ AC
|
|||
</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">
|
||||
|
|
Loading…
Reference in a new issue