cvs: phpdoc /en/language/control-structures goto.xml
| From: | Daniel P. Brown | Date: | Fri, 08 May 2009 13:13:18 +0000 |
| Subject: | cvs: phpdoc /en/language/control-structures goto.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-3980@lists.php.net to get a copy of this message | ||
danbrown Fri May 8 13:13:18 2009 UTC
Modified files:
/phpdoc/en/language/control-structures goto.xml
Log:
Just some minor grammatical fixes.
http://cvs.php.net/viewvc.cgi/phpdoc/en/language/control-structures/goto.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc/en/language/control-structures/goto.xml
diff -u phpdoc/en/language/control-structures/goto.xml:1.1
phpdoc/en/language/control-structures/goto.xml:1.2
--- phpdoc/en/language/control-structures/goto.xml:1.1 Wed Jan 7 13:34:18 2009
+++ phpdoc/en/language/control-structures/goto.xml Fri May 8 13:13:17 2009
@@ -1,12 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<sect1 xml:id="control-structures.goto" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
<title><literal>goto</literal></title>
<para>
- The <literal>goto</literal> operator can be used to jump to other
- instruction in the program. The target place is specified by the label and a
- colon and <literal>goto</literal> is followed by that label.
+ The <literal>goto</literal> operator can be used to jump to another
+ section in the program. The target point is specified by a label
+ followed by a colon, and the instruction is given as
+ <literal>goto</literal> followed by the desired target label.
</para>
<para>
<example>
@@ -32,13 +33,13 @@
</para>
<note>
<para>
- The <literal>goto</literal> operator is available since PHP 5.3.
+ The <literal>goto</literal> operator is available as of PHP 5.3.
</para>
</note>
<warning>
<para>
- It is not allowed to jump into loop or switch statement. Fatal error is
- issued in such case.
+ It is not allowed to jump into a loop or switch statement. A fatal
+ error is issued in such cases.
</para>
</warning>