PHP natcasesort() Function

The natcasesort() function sorts an array by using a “natural order” algorithm. The values keep their original keys.

This function is case-insensitive.

This function returns TRUE on success, or FALSE on failure.

ParameterDescription
arrayRequired. Specifies the array to sort

Syntax

natcasesort(array) 

Leave a Reply

Your email address will not be published. Required fields are marked *