appendices/migration70/incompatible/other.xml
6d2f72b0f2d7fbda2e3aa79ab58f190b4cdac867
...
...
@@ -361,6 +361,35 @@ switch (1) {
361
361
</note>
362
362
</sect3>
363
363

364
+
<sect3 xml:id="migration70.incompatible.other.break-continue">
365
+
<title>Misplaced break and continue statements</title>
366
+
<para>
367
+
<literal>break</literal> and <literal>continue</literal> statements outside of
368
+
a loop or <literal>switch</literal> control structure are now detected at
369
+
compile-time instead of run-time as before, and trigger an
370
+
<constant>E_COMPILE_ERROR</constant>.
371
+
</para>
372
+
</sect3>
373
+

374
+
<sect3 xml:id="migration70.incompatible.other.mhash">
375
+
<title>Mhash is not an extension anymore</title>
376
+
<para>
377
+
The Mhash extension has been fully integrated into the <link
378
+
linkend="book.hash">Hash</link> extension. Therefore, it is no longer
379
+
possible to detect Mhash support with <function>extension_loaded</function>;
380
+
use <function>function_exists</function> instead. Furthermore, Mhash is no
381
+
longer reported by <function>get_loaded_extensions</function> and related
382
+
features.
383
+
</para>
384
+
</sect3>
385
+

386
+
<sect3 xml:id="migration70.incompatible.other.declare-ticks">
387
+
<title>declare(ticks)</title>
388
+
<para>
389
+
The <link linkend="control-structures.declare.ticks">declare(ticks)</link>
390
+
directive does no longer leak into different compilation units.
391
+
</para>
392
+
</sect3>
364
393
</sect2>
365
394

366
395
<!-- Keep this comment at the end of the file
367
396