Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #13552
| From | Arno Welzel <usenet@arnowelzel.de> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | Re: The goto statement in PHP |
| Date | 2014-05-09 10:30 +0200 |
| Message-ID | <536C923E.9030502@arnowelzel.de> (permalink) |
| References | <12m67qcdacclw.zdjrtjbgfn8m$.dlg@40tude.net> |
Am 05.05.2014 15:50, schrieb richard: > 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. Of course they do <http://www.php.net/manual/en/control-structures.goto.php> Example on that page: <?php goto a; echo 'Foo'; a: echo 'Bar'; ?> And even you should remember, that variables in PHP start with "$", so "a$" would be the variable and "a:" the label. -- Arno Welzel http://arnowelzel.de http://de-rec-fahrrad.de http://fahrradzukunft.de
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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