PHP 8.5.0 Alpha 1 available for testing

Voting

: min(six, five)?
(Example: nine)

The Note You're Voting On

oculiz at gmail dot com
14 years ago
Another way to do a case case-insensitive sort by key would simply be:

<?php
uksort
($array, 'strcasecmp');
?>

Since strcasecmp is already predefined in php it saves you the trouble to actually write the comparison function yourself.

<< Back to user notes page

To Top