From a5895bafdca5bdc902be9e8650ea3c6307396477 Mon Sep 17 00:00:00 2001 From: Adam Harvey Date: Mon, 2 Dec 2013 18:12:55 +0000 Subject: [PATCH] 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 --- language/control-structures/goto.xml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/language/control-structures/goto.xml b/language/control-structures/goto.xml index 0e977b314a..9fcda770a4 100644 --- a/language/control-structures/goto.xml +++ b/language/control-structures/goto.xml @@ -4,6 +4,15 @@ <literal>goto</literal> + + + What's the worse thing that could happen if you use goto? + + + + + Image courtesy of xkcd + The goto 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 goto operator is available as of PHP 5.3. - - - What's the worse thing that could happen if you use goto? - - - - - Image courtesy of xkcd -