Miscellany
public php v1 · immutablefunction length_sort($v1, $v2) // my function to use with usort :){ return (strlen($v1) < strlen($v2)) ? -1 : 1;}$words = file('words_big.txt'); // Loads a wordlist into an array - about 100.000 wordsusort($words, 'length_sort'); // This takes like forever :O