This was fixed awhile ago and even shows up in the online manual, 
are you sure about this?

  http://www.php.net/natsort
  http://bugs.php.net/bug.php?id=23656

I see the following within the manual:

  Note:  If you're wanting to maintain index/value associations, 
         consider using uasort($arr, 'strnatcmp').

See also:
http://cvs.php.net/cvs.php/phpdoc/en/reference/array/functions/natsort.xml

Point is: It's fixed, but thanks for the report :)

Regards,
Philip


On Mon, 2 Jun 2003, Richard Bronosky wrote:

> In the file:
>       http://www.php.net/manual/en/function.natsort.php
> 
> the text:
>       Note: If you're wanting to maintain index/value associations, consider 
> using usort($arr, 'strnatcmp') .
> 
> should be:
>       Note: If you're wanting to maintain index/value associations, consider 
> using uasort($arr, 'strnatcmp') .
> 
> 
> Thanks,
> 
> --==<< R i c h a r d   B r o n o s k y >>==--


-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to