From: bjori at jeshus dot com Operating system: FreeBSD 5.2.1 PHP version: 5.0.0 PHP Bug Type: Documentation problem Bug description: fgetss(), length argument is optimal
Description: ------------ http://no2.php.net/fgetss : string fgetss ( resource handle, int length [, string allowable_tags]) [snip]Identical to fgets()[/snip] http://no2.php.net/fgets string fgets ( resource handle [, int length]) Minor documentation problem, still a problem. Reproduce code: --------------- fgetss ( $fp ); Expected result: ---------------- As documented, not to work. Actual result: -------------- Works. -- Edit bug report at http://bugs.php.net/?id=29696&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29696&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=29696&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=29696&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=29696&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=29696&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=29696&r=needscript Try newer version: http://bugs.php.net/fix.php?id=29696&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=29696&r=support Expected behavior: http://bugs.php.net/fix.php?id=29696&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=29696&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=29696&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=29696&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29696&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=29696&r=dst IIS Stability: http://bugs.php.net/fix.php?id=29696&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=29696&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=29696&r=float