Doc #55730 [NEW]: Docs do not clearly identify which functions fail on large files on 32bit sys.

From: Date: Tue, 20 Sep 2011 02:14:58 +0000
Subject: Doc #55730 [NEW]: Docs do not clearly identify which functions fail on large files on 32bit sys.
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-7234@lists.php.net to get a copy of this message
From: Operating system: Linux PHP version: 5.3.8 Package: Documentation problem Bug Type: Documentation Problem Bug description:Docs do not clearly identify which functions fail on large files on 32bit sys. Description: ------------ It would be nice if the PHP documentation included notes on the function pages for functions that fail on 32bit servers and files larger than 2GB. For example, is_file file_exists realpath (as of php 5.3.0) filesize (and a bunch of others) For example, the filesize function includes this note: Note: Because PHP's integer type is signed and many platforms use 32bit integers, filesize() may return unexpected results for files which are larger than 2GB. For files between 2GB and 4GB in size this can usually be overcome by using sprintf("%u", filesize($file)). It would be very helpful if all the builtin functions that suffer this fate with large files on 32bit systems had similar official notes. -- Edit bug report at https://bugs.php.net/bug.php?id=55730&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=55730&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=55730&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=55730&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=55730&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=55730&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=55730&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=55730&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=55730&r=needscript Try newer version: https://bugs.php.net/fix.php?id=55730&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=55730&r=support Expected behavior: https://bugs.php.net/fix.php?id=55730&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=55730&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=55730&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=55730&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=55730&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=55730&r=dst IIS Stability: https://bugs.php.net/fix.php?id=55730&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=55730&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=55730&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=55730&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=55730&r=mysqlcfg

« previous php.doc.bugs (#7234) next »