title: Using PHP write an anagram function?
body: <p>Using PHP write an anagram function? It should be handling different phrases and return boolean result.</p>
  
  <p>Usage:</p>
  
  <pre><code>$pharse1 = 'ball';
  $pharse2 = 'lbal';
  if(is_anagram($pharse1,$pharse2)){
    echo $pharse1 .' &amp; '. $pharse2 . ' are anagram';
  }else{
    echo $pharse1 .' &amp; '. $pharse2 . ' not anagram';
  }
  </code></pre>