title: Parsing diffs (generated with git-diff) with PHP
body: <p>I need to parse diff files (as created by Git).</p>
  
  <p>I've already tried Text_Diff from PEAR and "<a href="https://stackoverflow.com/questions/4061151/php-class-for-parsing-diffs">PHP class for parsing diffs</a>" solution.
  However, both can only generate diffs themselves. </p>
  
  <p>Does anyone know ready-made solution?</p>
  
  <p>p.s.: writing simple diff-viewer script.</p>