php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #15480 Error in fgets() Docs
Submitted: 2002-02-09 19:13 UTC Modified: 2002-02-11 16:44 UTC
From: hz11 at nyu dot edu Assigned: alindeman (profile)
Status: Closed Package: Documentation problem
PHP Version: 4.1.1 OS: Linux
Private report: No CVE-ID: None
 [2002-02-09 19:13 UTC] 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-02-09 19:17 UTC] alindeman@php.net
Your right.

Status -> Analyzed

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

 [2002-02-09 19:18 UTC] alindeman@php.net
This bug has been fixed in CVS.
 [2002-02-11 16:44 UTC] alindeman@php.net
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.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Jul 03 09:01:29 2024 UTC