ID: 36327 Updated by: [EMAIL PROTECTED] Reported By: kontakt at zuckerimnetz dot de -Status: Open +Status: Feedback -Bug Type: *General Issues +Bug Type: Filesystem function related Operating System: Windows XP Home 32 bit PHP Version: 5.1.2 New Comment:
Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. Previous Comments: ------------------------------------------------------------------------ [2006-02-08 01:02:50] kontakt at zuckerimnetz dot de Description: ------------ here my Code: <? $file = "all.txt"; $fp = fopen($file, "r"); while(!feof($fp)) { $buffer = fgets($fp, 999999999); echo strlen($buffer); break; } fclose($fp); ?> The Line $buffer = fgets($fp, 999999999); is dirty or an PHP Bug If i delete one Number: $buffer = fgets($fp, 99999999); then Its all OK! Sorry, I'am come from Germany But my english was never good ;) Reproduce code: --------------- <? $file = "all.txt"; $fp = fopen($file, "r"); while(!feof($fp)) { $buffer = fgets($fp, 999999999); echo strlen($buffer); break; } fclose($fp); ?> Expected result: ---------------- My Page cant load. I see the default networkerror page ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=36327&edit=1
