Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #3874
| From | tony@mountifield.org (Tony Mountifield) |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | Re: Hmm..why doesnt this work? |
| Date | 2011-11-22 17:44 +0000 |
| Organization | Software Insight Ltd., Winchester, UK |
| Message-ID | <jagn15$cl2$1@softins.clara.co.uk> (permalink) |
| References | <jaghhf$867$1@news.albasani.net> <jagi7c$ath$1@softins.clara.co.uk> <jaglt2$k0v$1@news.albasani.net> |
In article <jaglt2$k0v$1@news.albasani.net>, The Natural Philosopher <tnp@invalid.invalid> wrote: > > The point remains. Why does mysql_fetch_assoc(.....)['name'] return a > SYNTAX error? I expect it's just because the creators of PHP just didn't think of it. I can't find any comment on the topic in the only PHP manual. Unlike C and Perl, which were actually DESIGNED and have a regular, orthogonal and consistent syntax, PHP appears to have just grown like Topsy, without any consideration of consistency or regularity (at least in the early days, but then you have an installed base to remain compatible with, so it's hard to fix the inconsistencies). Cheers Tony -- Tony Mountifield Work: tony@softins.co.uk - http://www.softins.co.uk Play: tony@mountifield.org - http://tony.mountifield.org
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Hmm..why doesnt this work? The Natural Philosopher <tnp@invalid.invalid> - 2011-11-22 16:10 +0000
Re: Hmm..why doesnt this work? The Natural Philosopher <tnp@invalid.invalid> - 2011-11-22 16:19 +0000
Re: Hmm..why doesnt this work? tony@mountifield.org (Tony Mountifield) - 2011-11-22 16:22 +0000
Re: Hmm..why doesnt this work? The Natural Philosopher <tnp@invalid.invalid> - 2011-11-22 17:24 +0000
Re: Hmm..why doesnt this work? tony@mountifield.org (Tony Mountifield) - 2011-11-22 17:44 +0000
Re: Hmm..why doesnt this work? The Natural Philosopher <tnp@invalid.invalid> - 2011-11-22 17:49 +0000
Re: Hmm..why doesnt this work? The Natural Philosopher <tnp@invalid.invalid> - 2011-11-22 17:57 +0000
csiph-web