Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #13544

Re: The goto statement in PHP

From Norman Peelman <npeelman@cfl.rr.com>
Newsgroups comp.lang.php
Subject Re: The goto statement in PHP
Date 2014-05-06 22:02 -0400
Organization A noiseless patient Spider
Message-ID <lkc48r$mt5$1@dont-email.me> (permalink)
References <12m67qcdacclw.zdjrtjbgfn8m$.dlg@40tude.net>

Show all headers | View raw


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

Back to comp.lang.php | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

The goto statement in PHP richard <noreply@example.com> - 2014-05-05 09:50 -0400
  Re: The goto statement in PHP Jerry Stuckle <jstucklex@attglobal.net> - 2014-05-05 10:27 -0400
    Re: The goto statement in PHP richard <noreply@example.com> - 2014-05-05 11:08 -0400
      Re: The goto statement in PHP Jerry Stuckle <jstucklex@attglobal.net> - 2014-05-05 11:33 -0400
        Re: The goto statement in PHP Tim Streater <timstreater@greenbee.net> - 2014-05-05 16:44 +0100
      Re: The goto statement in PHP Doug Miller <doug_at_milmac_dot_com@example.com> - 2014-05-06 00:57 +0000
        Re: The goto statement in PHP Richard Yates <richard@yatesguitar.com> - 2014-05-05 19:06 -0700
          Re: The goto statement in PHP Doug Miller <doug_at_milmac_dot_com@example.com> - 2014-05-06 17:23 +0000
    Re: The goto statement in PHP Graham Hobbs <ghobbs@cdpwise.net> - 2014-05-07 11:13 -0400
      Re: The goto statement in PHP The Natural Philosopher <tnp@invalid.invalid> - 2014-05-07 20:07 +0100
        Re: The goto statement in PHP Tim Streater <timstreater@greenbee.net> - 2014-05-07 20:16 +0100
  Re: The goto statement in PHP Norman Peelman <npeelman@cfl.rr.com> - 2014-05-06 22:02 -0400
  Re: The goto statement in PHP Arno Welzel <usenet@arnowelzel.de> - 2014-05-09 10:30 +0200
    Re: The goto statement in PHP Arno Welzel <usenet@arnowelzel.de> - 2014-05-09 12:00 +0200
      Re: The goto statement in PHP Mi Na <ya12983@mail.com> - 2021-07-23 00:55 -0700

csiph-web