title: PHP x64 still returns wrong filesize
body: <p>I am trying to get the file size of files >2GB, but PHP seams to have problems regardless of 64 or 32 bit versions. On the PHP 64bit version running on a 64bit processor on a 64 bit OS, it still returns the wrong file size using filesize() function. Before I have encountered that it returns a negative number, or nothing at all... the number is changing if the file size is changing, but is not accurate on files > 2gb... I could understand a number less than actual size, zero or even negative numbers if php is using 32bit integers, but as I read, php 64bit is supposed to support file sizes > 2gb...</p>
  
  <p>I have also tried using fseek to end and ftell like:</p>
  
  <pre><code>$a = fopen("c:\big.txt", 'r');
  fseek($a,0,SEEK_END);
  $fs = ftell($a);
  fclose($a);
  echo $fs;
  </code></pre>
  
  <p>But that just gives 0...</p>