Re: [PHP] Case insensitive ksort

2007-09-18 Thread TG
I don't have time to look up in the manual but I don't remember a case insensitive ksort(). I think there's a uksort() where you could specify your own sorting parameters for the keys. Also, you could create the array with keys run through strtoupper() or strtolower(). If you need the proper

Re: [PHP] Case insensitive ksort

2007-09-18 Thread Robin Vickery
On 18/09/2007, Christoph Boget <[EMAIL PROTECTED]> wrote: > I looked in the docs but didn't see anything regarding case > insensitivity and I fear the functionality doesn't exist. I'm just > hoping I'm looking in the wrong place. > > Is there a way to get ksort to work without regard to case? Whe

Re: [PHP] Case insensitive ksort

2007-09-18 Thread Jim Lucas
Christoph Boget wrote: I looked in the docs but didn't see anything regarding case insensitivity and I fear the functionality doesn't exist. I'm just hoping I'm looking in the wrong place. Is there a way to get ksort to work without regard to case? When I sort an array using ksort, all the upp