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

Home » Imported messages » comp.lang.php » Hmm..why doesnt this work?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Hmm..why doesnt this work? [message #176080 is a reply to message #176078] Tue, 22 November 2011 17:44 Go to previous messageGo to previous message
tony is currently offline  tony
Messages: 19
Registered: December 2010
Karma:
Junior Member
In article <jaglt2$k0v$1(at)news(dot)albasani(dot)net>,
The Natural Philosopher <tnp(at)invalid(dot)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(at)softins(dot)co(dot)uk - http://www.softins.co.uk
Play: tony(at)mountifield(dot)org - http://tony.mountifield.org
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to get client mac address in PHP ..?
Next Topic: Thumbnails with PHP
Goto Forum:
  

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

Current Time: Sat May 17 20:52:25 GMT 2025

Total time taken to generate the page: 0.20884 seconds