Re: Re: GOTO and/or BREAK LABEL (conclusion)

From: Date: Thu, 09 Mar 2006 17:10:52 +0000
Subject: Re: Re: GOTO and/or BREAK LABEL (conclusion)
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
Even though I like "jump", people will most likely be searching for "goto" (PHP manual) or "goto PHP" (Google) when they're trying to find out if PHP has such a functionality. So, maybe it's better to just call it "goto". Agreed. As the man said this morning, let's "Consider our Audience". "Goto" is what they'll search for. However, the manual does have a list of redirection translations. We can have http://www.php.net/goto resolve to http://www.php.net/language.control.jump easily enough.
Either syntax works. My personal prefference (prior paragraph not withstanding) is "goto".
PHP will give some kind of warning if it is used incorrectly, right? They'll learn soon enough. Yes, it'll be an E_PARSE.
-Sara

Thread (106 messages)

« previous php.internals (#22291) next »