★ wanayoo — archive 1999 http://php.net/manual/function.natcasesort.phpNouvelle recherche | Portail wanayoo

PHP Home Page

Manual Table of Contents
Up to Arrays
Quick Reference
Arrays
English version of this pageJapanese version of this page
Italian version of this page
* array
* array_count_values
* array_diff
* array_flip
* array_intersect
* array_keys
* array_merge
* array_merge_recursive
* array_multisort
* array_pad
* array_pop
* array_push
* array_rand
* array_reverse
* array_shift
* array_slice
* array_splice
* array_unique
* array_unshift
* array_values
* array_walk
* arsort
* asort
* compact
* count
* current
* each
* end
* extract
* in_array
* key
* krsort
* ksort
* list
* natsort
* natcasesort
* next
* pos
* prev
* range
* reset
* rsort
* shuffle
* sizeof
* sort
* uasort
* uksort
* usort

  Thanks to:
 Chek.com
 easyDNS
 VA Linux Systems

  Related sites:
Apache
MySQL
PostgreSQL
Zend Tech.

  Community:
LinuxFund.org
OSDN
Manual: natcasesort
View the source code for this pageSearch the site



Previous page
 natsort
 Updated
Fri, 15 Sep 2000
next 
Next page


natcasesort

(PHP4 >= 4.0RC2)

natcasesort --  Sort an array using a case insensitive "natural order" algorithm

Description

void natcasesort (array array)

This function implements a sort algorithm that orders alphanumeric strings in the way a human being would. This is described as a "natural ordering".

natcasesort() is a case insensitive version of natsort(). See natsort() for an example of the difference between this algorithm and the regular computer string sorting algorithms.

For more infomation see: Martin Pool's Natural Order String Comparison page.

See also sort(), natsort(), strnatcmp() and strnatcasecmp().


 About Notes


Previous page
 natsort
 Updated
Fri, 15 Sep 2000
next 
Next page





Who's responsible for this?
Top of this page

Site
Hosting:



Located in
United States
Elements of this website are subject to copyright.
Questions about installing or using PHP should be directed to one of the mailing lists.
Only questions about the website should be directed to webmaster@php.net.