appendices/migration74/new-features.xml
8d1a5d2d15df15cc5cbc7f96cdc083b8fe49366e
...
...
@@ -142,7 +142,7 @@ $fruits = ['banana', 'orange', ...$parts, 'watermelon'];
142
142
<title>Weak references</title>
143
143

144
144
<para>
145
-
Weak references allow the programmer to retain a reference to an object
145
+
<link linkend="class.weakreference">Weak references</link> allow the programmer to retain a reference to an object
146
146
that does not prevent the object from being destroyed.
147
147
</para>
148
148
</sect3>
...
...
@@ -233,7 +233,7 @@ $fruits = ['banana', 'orange', ...$parts, 'watermelon'];
233
233
The <function>preg_replace_callback</function> and <function>preg_replace_callback_array</function>
234
234
functions now accept an additional <parameter>flags</parameter> argument, with support for the
235
235
<constant>PREG_OFFSET_CAPTURE</constant> and <constant>PREG_UNMATCHED_AS_NULL</constant> flags.
236
-
This influences the format of the matches array passed to to the callback function.
236
+
This influences the format of the matches array passed to the callback function.
237
237
</para>
238
238
</sect2>
239
239

240
240