cvs: phpdoc /en/language/control-structures goto.xml
| From: | Hannes Magnusson | Date: | Tue, 23 Jun 2009 13:46:53 +0000 |
| Subject: | cvs: phpdoc /en/language/control-structures goto.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-4213@lists.php.net to get a copy of this message | ||
bjori Tue Jun 23 13:46:53 2009 UTC
Modified files:
/phpdoc/en/language/control-structures goto.xml
Log:
make it cristal clear you cannot jump between files
http://cvs.php.net/viewvc.cgi/phpdoc/en/language/control-structures/goto.xml?r1=1.4&r2=1.5&diff_format=u
Index: phpdoc/en/language/control-structures/goto.xml
diff -u phpdoc/en/language/control-structures/goto.xml:1.4
phpdoc/en/language/control-structures/goto.xml:1.5
--- phpdoc/en/language/control-structures/goto.xml:1.4 Sat Jun 20 18:07:12 2009
+++ phpdoc/en/language/control-structures/goto.xml Tue Jun 23 13:46:53 2009
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<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>
@@ -9,7 +9,7 @@
followed by a colon, and the instruction is given as
<literal>goto</literal> followed by the desired target label. This
is not a full unrestricted <literal>goto</literal>. The target
- label must be within the same context, meaning that you cannot jump
+ label must be within the same file and context, meaning that you cannot jump
out of a function or method, nor can you jump into one. You also
cannot jump into any sort of loop or switch structure. You may jump
out of these, and a common use is to use a <literal>goto</literal>