cvs: phpdoc /en/appendices reserved.xml /en/language control-structures.xml /en/language/control-structures goto.xml

From: Date: Wed, 07 Jan 2009 13:34:18 +0000
Subject: cvs: phpdoc /en/appendices reserved.xml /en/language control-structures.xml /en/language/control-structures goto.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-2947@lists.php.net to get a copy of this message
vrana Wed Jan 7 13:34:18 2009 UTC Added files: /phpdoc/en/language/control-structures goto.xml Modified files: /phpdoc/en/appendices reserved.xml /phpdoc/en/language control-structures.xml Log: Document goto http://cvs.php.net/viewvc.cgi/phpdoc/en/appendices/reserved.xml?r1=1.79&r2=1.80&diff_format=u Index: phpdoc/en/appendices/reserved.xml diff -u phpdoc/en/appendices/reserved.xml:1.79 phpdoc/en/appendices/reserved.xml:1.80 --- phpdoc/en/appendices/reserved.xml:1.79 Wed Nov 5 16:53:05 2008 +++ phpdoc/en/appendices/reserved.xml Wed Jan 7 13:34:18 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.79 $ --> +<!-- $Revision: 1.80 $ --> <appendix xml:id="reserved" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>List of Reserved Words</title> @@ -124,7 +124,7 @@ <link linkend="language.variables.scope">global</link> </entry> <entry> - goto (as of PHP 5.3) + <link linkend="control-structures.goto">goto</link> (as of PHP 5.3) </entry> </row> <row> http://cvs.php.net/viewvc.cgi/phpdoc/en/language/control-structures.xml?r1=1.174&r2=1.175&diff_format=u Index: phpdoc/en/language/control-structures.xml diff -u phpdoc/en/language/control-structures.xml:1.174 phpdoc/en/language/control-structures.xml:1.175 --- phpdoc/en/language/control-structures.xml:1.174 Sat Dec 27 01:35:49 2008 +++ phpdoc/en/language/control-structures.xml Wed Jan 7 13:34:18 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.174 $ --> +<!-- $Revision: 1.175 $ --> <chapter xml:id="language.control-structures" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Control Structures</title> @@ -34,6 +34,7 @@ &language.control-structures.include; &language.control-structures.require-once; &language.control-structures.include-once; + &language.control-structures.goto; </chapter> http://cvs.php.net/viewvc.cgi/phpdoc/en/language/control-structures/goto.xml?view=markup&rev=1.1 Index: phpdoc/en/language/control-structures/goto.xml +++ phpdoc/en/language/control-structures/goto.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <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. </para> <para> <example> <title><literal>goto</literal> example</title> <programlisting role="php"> <![CDATA[ <?php goto a; echo 'Foo'; a: echo 'Bar'; ?> ]]> </programlisting> &example.outputs; <screen> <![CDATA[ Bar ]]> </screen> </example> </para> <note> <para> The <literal>goto</literal> operator is available since 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. </para> </warning> </sect1> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->

« previous php.doc.cvs (#2947) next »