Voting

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

The Note You're Voting On

mnbayazit
17 years ago
Case insensitive; will keep first encountered value.

<?php

function array_iunique($array) {
$lowered = array_map('strtolower', $array);
return
array_intersect_key($array, array_unique($lowered));
}

?>

<< Back to user notes page

To Top