php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #36976 Confusing description in fgets' manual page
Submitted: 2006-04-04 21:21 UTC Modified: 2006-04-05 16:20 UTC
From: colder@php.net Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: Irrelevant
Private report: No CVE-ID: None
 [2006-04-04 21:21 UTC] colder@php.net
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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-04-05 16:20 UTC] vrana@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.

Patch applied.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 08 14:01:33 2025 UTC