Can I use strings with some unicode characters as array keys?
Andre <[email protected]> Sat, 30 Jul 2011 22:07:03 -0400
| Newsgroups | gmane.comp.php.internationalization |
|---|---|
| Message-ID | <CANjKpoJi5Mma97ZFYNyJ5PSNwrf+H3AoOCDd51rEHbYEkSjV+g@mail.gmail.com> |
Question to someone who's familiar with how arrays are implemented in PHP. I've been researching this for couple of hours but my C level is still a bit low. PHP manual says that one should only use strings or integers as keys. Also I know that PHP doesn't speak unicode yet. So - I was just wondering - when unicode characteres aare used in array key - does PHP strips them or affects them in any way? or does iPHP simply treats keys as binary string, the end of the story? Can I use strings with some unicode characters as array keys? -- PHP Unicode & I18N Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php