Achieving 64-bit integers on 32-bit platforms

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Folks

This 32-bit limitation is haunting me everywhere I turn.

Is it possible with PHP (at compile-time if need be) to make it use large
(64-bit) integers?

I'm asking because I would like to perform operations on large files, and

fillesize($filename)

is returning an error, even when I use

sprintf("%u", filesize($file))

as per the manual for filesize(). I get:

Warning: filesize(): Stat failed for FC4-i386-DVD.iso (errno=75 - Value too large for defined data type)

Any thoughts/ideas/suggestions? Thanks!

Regards,

Dan Goodes  :  Systems Programmer  :  dang@xxxxxxxxxxxxxxxx

Help support PlanetMirror - Australia's largest Internet archive
by signing up for PlanetMirror Premium : http://planetmirror.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux