reference/pcre/functions/preg-replace.xml
62126c55f1c6ed444043e7272c4f9e233818a44b
...
...
@@ -314,7 +314,7 @@ xp***to
314
314
such as swapping two values, replace one pattern by an intermediary placeholder, then in a
315
315
later pair replace that intermediary placeholder with the desired replacement.
316
316
</para>
317
-
<example>
317
+
<informalexample>
318
318
<programlisting role="php">
319
319
<![CDATA[
320
320
<?php
...
...
@@ -325,7 +325,7 @@ print_r(preg_replace($p, $r, 'a'));
325
325
?>
326
326
]]>
327
327
</programlisting>
328
-
</example>
328
+
</informalexample>
329
329
</note>
330
330
</refsect1>
331
331

332
332