language/predefined/attributes/allowdynamicproperties.xml
f94d903985119d3ac00f4528551df947f57b667f
...
...
@@ -37,7 +37,7 @@
37
37
thus using them without marking the class with this attribute will emit
38
38
a deprecation notice.
39
39
</para>
40
-
<example>
40
+
<informalexample>
41
41
<programlisting role="php">
42
42
<![CDATA[
43
43
<?php
...
...
@@ -60,7 +60,7 @@ $o2->nonExistingProp = true;
60
60
Deprecated: Creation of dynamic property DefaultBehaviour::$nonExistingProp is deprecated in file on line 10
61
61
]]>
62
62
</screen>
63
-
</example>
63
+
</informalexample>
64
64
</section>
65
65

66
66
<section xml:id="allowdynamicproperties.seealso">
67
67