Bug #15480 Updated: Error in fgets() Docs
ID: 15480
Updated by: alindeman@php.net
Reported By: hz11@nyu.edu
Status: Closed
Bug Type: Documentation problem
Operating System: Linux
PHP Version: 4.1.1
Assigned To: alindeman
New Comment:
Just to clear things up. The param is optional, though it is only
optional in 4.2.0(-dev) A note has been
added to the doc page telling people this.
Previous Comments:
------------------------------------------------------------------------
[2002-02-09 19:18:50] alindeman@php.net
This bug has been fixed in CVS.
------------------------------------------------------------------------
[2002-02-09 19:17:12] alindeman@php.net
Your right.
Status -> Analyzed
Assigned to myself. I'll fix it in a minute.
------------------------------------------------------------------------
[2002-02-09 19:13:44] hz11@nyu.edu
Hello,
When using fgets() with 4.1.1 it says that the second parameter [int
length] is optional. However, if length is left out, I get a Warning
complaining that the second parameter is missing.
Thank you,
Hans
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=15480&edit=1
Thread (4 messages)