The natcasesort() function of the ArrayObject class in PHP is used to sort the elements of the ArrayObject following a natural order case sensitive sorting algorithm. Natural ordering means to arrange the elements in a order a normal human being would do.
Parameters: This function does not accepts any parameters.
Return Value: This function does not returns any value.
Below programs illustrate the above function:
ArrayObject Object ( [storage:ArrayObject:private] => Array ( [d] => are [a] => awesome [b] => geeks [e] => YAAY ) )
ArrayObject Object ( [storage:ArrayObject:private] => Array (  => are  => awesome  => geeks ) )