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:
Adam Harvey 2013-12-02 18:12:55 +00:00
parent 526d7aa849
commit a5895bafdc

View file

@ -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