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

Home » Imported messages » comp.lang.php » Array key names
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Array key names [message #184901 is a reply to message #184896] Fri, 14 February 2014 14:09 Go to previous message
Christoph Michael Bec is currently offline  Christoph Michael Bec
Messages: 207
Registered: June 2013
Karma:
Senior Member
John Smith wrote:

> Just one simple question. Are spaces allowed in key names?
> Such as $name=array("John Smith" +> "somethig").

Actually, *any* string is allowed as key, however, not all strings will
be treated as string keys[1].

[1] <http://www.php.net/manual/en/language.types.array.php#example-83>

--
Christoph M. Becker
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Upload not working on adding progress bar script in HTML file
Next Topic: getting php mail error info
Goto Forum:
  

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

Current Time: Fri Nov 22 10:55:11 GMT 2024

Total time taken to generate the page: 0.05035 seconds