reference/datetime/formats.xml
ac83abe55f4da019036de5ec14400d674fa3f9f5
...
...
@@ -78,7 +78,7 @@
78
78
<listitem>
79
79
<para>
80
80
There is an additional check if an invalid date is provided:
81
-
<example>
81
+
<informalexample>
82
82
<programlisting role="php">
83
83
<![CDATA[
84
84
<?php
...
...
@@ -96,7 +96,7 @@ array(1) {
96
96
}
97
97
]]>
98
98
</screen>
99
-
</example>
99
+
</informalexample>
100
100
</para>
101
101
</listitem>
102
102
<listitem>
...
...
@@ -104,7 +104,7 @@ array(1) {
104
104
It is already possible to handle the edge cases, but then
105
105
<function>DateTimeImmutable::createFromFormat</function> must be used
106
106
while supplying the correct format.
107
-
<example>
107
+
<informalexample>
108
108
<programlisting role="php">
109
109
<![CDATA[
110
110
<?php
...
...
@@ -125,7 +125,7 @@ object(DateTimeImmutable)#1 (3) {
125
125
}
126
126
]]>
127
127
</screen>
128
-
</example>
128
+
</informalexample>
129
129
</para>
130
130
</listitem>
131
131
</orderedlist>
132
132