reference/datetime/dateperiod.xml
ac83abe55f4da019036de5ec14400d674fa3f9f5
...
...
@@ -154,7 +154,7 @@
154
154
<constant>DatePeriod::INCLUDE_END_DATE</constant>.
155
155
</para>
156
156
<para>
157
-
<example>
157
+
<informalexample>
158
158
<programlisting role="php">
159
159
<![CDATA[<?php
160
160
$start = new DateTime('2018-12-31 00:00:00');
...
...
@@ -188,7 +188,7 @@ echo $period->recurrences, "\n";
188
188
1
189
189
0
190
190
</screen>
191
-
</example>
191
+
</informalexample>
192
192
</para>
193
193
<para>
194
194
See also <methodname>DatePeriod::getRecurrences</methodname>.
195
195