#29900 [NEW]: Variables can't hold more than 42.56KB

From: Date: Mon, 30 Aug 2004 15:21:28 +0000
Subject: #29900 [NEW]: Variables can't hold more than 42.56KB
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-65463@lists.php.net to get a copy of this message
From: amir29 at comcast dot net Operating system: Win32 PHP version: 5.0.1 PHP Bug Type: Performance problem Bug description: Variables can't hold more than 42.56KB Description: ------------ Whether I use curl, file_get_contents, or fgets php will not put more 42.56kb ... well occassionaly (randomly) it will but most of the time it won't. I tried increasing the max memory use from 8M to 64M to no avail. This bug is in 4.3.5-4.3.9 and 5.01 Reproduce code: --------------- $page = file_get_contents(any web page larger than 100kb); echo $page // will only display 43kb; Expected result: ---------------- echo $page // display 100kb Actual result: -------------- echo $page //displays 42.56kb -- Edit bug report at http://bugs.php.net/?id=29900&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29900&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=29900&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=29900&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=29900&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=29900&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=29900&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=29900&r=needscript Try newer version: http://bugs.php.net/fix.php?id=29900&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=29900&r=support Expected behavior: http://bugs.php.net/fix.php?id=29900&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=29900&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=29900&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=29900&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29900&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=29900&r=dst IIS Stability: http://bugs.php.net/fix.php?id=29900&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=29900&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=29900&r=float

« previous php.bugs (#65463) next »