language/operators/increment.xml
16934048f79c6e117cd16a23c09c1b2ea502e284
16934048f79c6e117cd16a23c09c1b2ea502e284
...
...
@@ -1,6 +1,7 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<sect1 xml:id="language.operators.increment">
3
3
<title>Incrementing/Decrementing Operators</title>
4
+
<titleabbrev>Increment and Decrement</titleabbrev>
4
5
<para>
5
6
PHP supports pre- and post-increment and decrement operators.
6
7
Those unary operators allow to increment or decrement the value by one.
...
...
@@ -41,8 +42,8 @@
41
42
</table>
42
43
43
44
<para>
44
-
Here's a simple example script:
45
-
<informalexample>
45
+
<example>
46
+
<title>Examples of Increment/Decrement</title>
46
47
<programlisting role="php">
47
48
<![CDATA[
48
49
<?php
...
...
@@ -85,7 +86,7 @@ int(4)
85
86
int(4)
86
87
]]>
87
88
</screen>
88
-
</informalexample>
89
+
</example>
89
90
90
91
<warning>
91
92
<para>
92
93