title: How can I perform static code analysis in PHP?
body: <p>Is there a static analysis tool for PHP source files?</p>
  <p>The binary itself can check for syntax errors, but I'm looking for something that does more, like:</p>
  <ul>
  <li>unused variable assignments</li>
  <li>arrays that are assigned into without being initialized first</li>
  <li>and possibly code style warnings</li>
  <li>...</li>
  </ul>