appendices/migration70/new-features.xml
389525942dd551c9b1943d404d76c03ab4a6203b
...
...
@@ -383,7 +383,7 @@ bool(true)
383
383
<title>Expectations</title>
384
384

385
385
<para>
386
-
<link linkend="function.assert.expectations">Expectations</link> are a
386
+
Expectations are a
387
387
backwards compatible enhancement to the older <function>assert</function>
388
388
function. They allow for zero-cost assertions in production code, and
389
389
provide the ability to throw custom exceptions when the assertion fails.
...
...
@@ -418,9 +418,8 @@ Fatal error: Uncaught CustomError: Some error message
418
418

419
419
<para>
420
420
Full details on this feature, including how to configure it in both
421
-
development and production environments, can be found in the
422
-
<link linkend="function.assert.expectations">expectations section</link>
423
-
of the <function>assert</function> reference.
421
+
development and production environments, can be found on the manual page
422
+
of the <function>assert</function> language construct.
424
423
</para>
425
424
</sect2>
426
425

427
426