Strcmp outputs a negative value when comparing files
<p>What I need to know is why my <code>strcmp</code> outputs -11?</p>

<p>I have checked both files, the result is the same as </p>

<blockquote>
  <p>Magnum 23-08-2011 1st 0006,2nd 0661,3rd
  6358,S:2359,5341,3075,4048,3720,8648,2774,7109,6360,1422,C:6149,0303,4841,3606,0076,2648,6736,7978,5986,7051</p>
</blockquote>

<p>Here is my code:</p>

<pre><code>$checkfile2 = fopen("/var/www/html/magnum/check.txt","r");
fclose($checkfile2);

$checkfile3 = fopen("/var/www/html/magnum/result/".$Current."Magnumresult.txt","r");
fclose($checkfile3);

echo strcmp($checkfile2, $checkfile3);
</code></pre>

<p>Thank you, hope you guys reply to me soon.</p>
