note 35189 added to language.types.array
| From: | plyrvt at rack1 dot php dot net | Date: | Fri, 22 Aug 2003 14:57:01 +0000 |
| Subject: | note 35189 added to language.types.array | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-54879@lists.php.net to get a copy of this message | ||
In documentation it actually states that you can use strings as an array keys, but it was new for me
that this can be _any string_ and not only "word" characters are allowed. It is OK to use
(for parser, not for your application consistence)
$arr['Any "string" or, even (%), punctuation! Heh?']='This is cool';
----
Manual Page -- http://www.php.net/manual/en/language.types.array.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+35189
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+35189&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+35189&report=yes