mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
Move the xkcd comic to the top of the goto page, rather than the bottom.
Reasoning: 1. It's funny. 2. People seem to keep using goto[0] and need to be more aware of the velociraptor based threat they are exposed to. 3. It's funny. [0] http://www.reddit.com/r/PHP/comments/1rw2fa/using_goto_in_php/ git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332237 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
526d7aa849
commit
a5895bafdc
1 changed files with 9 additions and 9 deletions
|
@ -4,6 +4,15 @@
|
|||
<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>
|
||||
<?phpdoc print-version-for="goto"?>
|
||||
<para>
|
||||
<mediaobject>
|
||||
<alt>What's the worse thing that could happen if you use goto?</alt>
|
||||
<imageobject>
|
||||
<imagedata fileref="en/language/figures/xkcd-goto.png" format="PNG"/>
|
||||
</imageobject>
|
||||
</mediaobject>
|
||||
Image courtesy of <link xlink:href="&url.xkcd;292">xkcd</link>
|
||||
</para>
|
||||
<para>
|
||||
The <literal>goto</literal> operator can be used to jump to another
|
||||
section in the program. The target point is specified by a label
|
||||
|
@ -93,15 +102,6 @@ script on line 2
|
|||
The <literal>goto</literal> operator is available as of PHP 5.3.
|
||||
</para>
|
||||
</note>
|
||||
<para>
|
||||
<mediaobject>
|
||||
<alt>What's the worse thing that could happen if you use goto?</alt>
|
||||
<imageobject>
|
||||
<imagedata fileref="en/language/figures/xkcd-goto.png" format="PNG"/>
|
||||
</imageobject>
|
||||
</mediaobject>
|
||||
Image courtesy of <link xlink:href="&url.xkcd;292">xkcd</link>
|
||||
</para>
|
||||
</sect1>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
|
Loading…
Reference in a new issue