Doc #15480 [Com]: Error in fgets() Docs

[email protected] ("giw42161 at uooos dot com") Tue, 28 Jun 2022 05:19:13 +0000
Newsgroups php.doc.bugs
Message-ID <[email protected]>
Edit report at https://bugs.php.net/bug.php?id=15480&edit=1

 ID:                 15480
 Comment by:         giw42161 at uooos dot com
 Reported by:        hz11 at nyu dot edu
 Summary:            Error in fgets() Docs
 Status:             Closed
 Type:               Documentation Problem
 Package:            Documentation problem
 Operating System:   Linux
 PHP Version:        4.1.1
 Assigned To:        alindeman
 Block user comment: N
 Private report:     N

 New Comment:

(https://centurylawfirm.in/)gist.github.com
(https://centurylawfirm.in/blog/divorce-lawyer-in-delhi-2/)gist.github.com
(https://centurylawfirm.in/blog/debt-recovery-tribunal-drt/)gist.github.com
(https://centurylawfirm.in/blog/get-bail-in-india/)gist.github.com
(https://centurylawfirm.in/blog/best-lawyer-for-criminal-case/)gist.github.com
(https://centurylawfirm.in/blog/high-court-cases/)gist.github.com
(https://centurylawfirm.in/blog/cheque-bounce-case/)gist.github.com
(https://centurylawfirm.in/blog/how-to-take-mutual-divorce/)gist.github.com


Previous Comments:
------------------------------------------------------------------------
[2002-02-11 16:44:27] [email protected]

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.


------------------------------------------------------------------------
[2002-02-09 19:18:50] [email protected]

This bug has been fixed in CVS.

------------------------------------------------------------------------
[2002-02-09 19:17:12] [email protected]

Your right.

Status -> Analyzed

Assigned to myself.  I'll fix it in a minute.


------------------------------------------------------------------------
[2002-02-09 19:13:44] hz11 at nyu dot 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 https://bugs.php.net/bug.php?id=15480&edit=1