language/control-structures/break.xml
7104ee97ced1768a3231588dfc0bc0d7eb1117ad
...
...
@@ -2,7 +2,7 @@
2
2
<!-- $Revision$ -->
3
3

4
4
<sect1 xml:id="control-structures.break" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
-
<title><literal>break</literal></title>
5
+
<title>break</title>
6
6
<?phpdoc print-version-for="break"?>
7
7
<simpara>
8
8
<literal>break</literal> ends execution of the current
...
...
@@ -49,43 +49,7 @@ while (++$i) {
49
49
</programlisting>
50
50
</informalexample>
51
51
</para>
52
-
<para>
53
-
<table>
54
-
<title>Changelog for <literal>break</literal></title>
55
-
<tgroup cols="2">
56
-
<thead>
57
-
<row>
58
-
<entry>&Version;</entry>
59
-
<entry>&Description;</entry>
60
-
</row>
61
-
</thead>
62
-
<tbody>
63
-
<row>
64
-
<entry>7.0.0</entry>
65
-
<entry>
66
-
<literal>break</literal> outside of a loop or <literal>switch</literal>
67
-
control structure is now detected at compile-time instead of run-time as
68
-
before, and triggers an <constant>E_COMPILE_ERROR</constant>.
69
-
</entry>
70
-
</row>
71
-
<row>
72
-
<entry>5.4.0</entry>
73
-
<entry>
74
-
<literal>break 0;</literal> is no longer valid. In previous versions it was interpreted
75
-
the same as <literal>break 1;</literal>.
76
-
</entry>
77
-
</row>
78
-
<row>
79
-
<entry>5.4.0</entry>
80
-
<entry>
81
-
Removed the ability to pass in variables (e.g., <literal>$num = 2; break $num;</literal>)
82
-
as the numerical argument.
83
-
</entry>
84
-
</row>
85
-
</tbody>
86
-
</tgroup>
87
-
</table>
88
-
</para>
52
+

89
53
</sect1>
90
54

91
55
<!-- Keep this comment at the end of the file
92
56