Search found 1 match

by xenonr
Tue Mar 19, 2013 2:15 pm
Forum: Challenges Solved
Topic: Pi Hates Nines
Replies: 26
Views: 8510

another PHP
$array = explode("9", $pi);

function sortByLength($a,$b){
return strlen($b)-strlen($a);
}

usort($array,'sortByLength');

echo $array[0];