Voting

: max(two, eight)?
(Example: nine)

The Note You're Voting On

ajanata at gmail dot com
13 years ago
This took me longer than it should have to figure out, but if you want the behavior of sort($array, SORT_STRING) (that is, re-indexing the array unlike natcasesort) in a case-insensitive manner, it is a simple matter of doing usort($array, strcasecmp).

<< Back to user notes page

To Top