Write a hash function for Morse Code
Arguably perfect score

There are some possible loopholes in the scoring system. In particular,


  8 points for every loop statement (including loops in the called functions. You can presume that any called function has no more than one loop)


According to PHP documentation,


  array() is a language construct used to represent literal arrays, and not a regular function.


So it's arguable that

$hash = array(
    '' =&gt; 0,
    '.-' =&gt; -1,
    ...
);
return $hash[$morse];


contains no called functions and should score a perfect 100 + (137 - 1) = 236 points.