From: [EMAIL PROTECTED] Operating system: Linux 2.2.18 PHP version: 4.1.2 PHP Bug Type: Filesystem function related Bug description: fwrite fails on long text string
fwrite appears to fail when the input string is too long (on the order of 160k). I've been creating dynamic stats pages from a database and writing them to a file. Recently the text to write has exceed some threshold that caused fwrite to not write to the fill and to not return an error code. Writing the files in chunks fixes the problem. However, there is nothing in the documentation about max length of strings to write. -- Edit bug report at http://bugs.php.net/?id=16432&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=16432&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=16432&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=16432&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=16432&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=16432&r=support Expected behavior: http://bugs.php.net/fix.php?id=16432&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=16432&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=16432&r=submittedtwice
