FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » The goto statement in PHP
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: The goto statement in PHP [message #185765 is a reply to message #185732] Wed, 07 May 2014 02:02 Go to previous messageGo to previous message
Norman Peelman is currently offline  Norman Peelman
Messages: 126
Registered: September 2010
Karma:
Senior Member
On 05/05/2014 09:50 AM, richard wrote:
> In Liberty BASIC (LB) we also have branched goto labels.
> As I was reading the goto manual on php.net I see where they make no
> distinction between a label and a variable.
> In LB it is simple.
> a=0 is a distinct variable.
> [a] is a distinct label.
>
> When goto [a] is encountered, it matters not what or where the variable "a"
> is.
>
> I'm just suggesting that they need a means to distinguish the pair.
>


$a is a VARIABLE

a: is a LABEL


How are they not distinguished from one another?

--
Norman
Registered Linux user #461062
-Have you been to www.php.net yet?-
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: part two same issue - unwanted empty values in array
Next Topic: richard
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 22 11:27:45 GMT 2024

Total time taken to generate the page: 0.05222 seconds