From: [EMAIL PROTECTED] Operating system: Irrelevant PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: Confusing description in fgets' manual page
Description: ------------ fgets' manual page states in the main description that "If no length is specified, the length defaults to 1k, or 1024 bytes.". However, this is only valid for PHP between 4.2 and 4.3 which makes this statement quite old and deprecated. In my opinion, we should merge the note about the 4.3+ behavior in the main description. The patch follows: http://patches.colder.ch/fgets.patch Thanks in advance -- Edit bug report at http://bugs.php.net/?id=36976&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=36976&r=trysnapshot44 Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=36976&r=trysnapshot51 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=36976&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=36976&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=36976&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=36976&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=36976&r=needscript Try newer version: http://bugs.php.net/fix.php?id=36976&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=36976&r=support Expected behavior: http://bugs.php.net/fix.php?id=36976&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=36976&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=36976&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=36976&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=36976&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=36976&r=dst IIS Stability: http://bugs.php.net/fix.php?id=36976&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=36976&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=36976&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=36976&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=36976&r=mysqlcfg