title: Why does my php code return inf?
body: <p>I have a math problem where I am trying to calculate the total combination of values in a set... when I try and run my calculation it just returns INF instead of a number...</p>
  
  <pre><code>$tally = 1;
  foreach ($output as $key =&gt; $er) {
    $tally = $tally *(ord(strtolower($er)) - 96);
  }
  echo $tally;
  </code></pre>