RE: [PHP] Case-insensitive indexes
| From: | Michal Migurski | Date: | Wed, 28 Apr 2004 14:43:10 +0000 |
| Subject: | RE: [PHP] Case-insensitive indexes | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-184882@lists.php.net to get a copy of this message | ||
> You could write a recursive function in PHP that would traverse the
> array and use strtolower to make all array elements lower case.
FYI, http://www.php.net/manual/en/function.array-change-key-case.php
Not recursive, but built-in.
---------------------------------------------------------------------
michal migurski- contact info and pgp key:
sf/ca http://mike.teczno.com/contact.html