php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #28836 fgets() documentation - parameter should be in italics
Submitted: 2004-06-18 19:50 UTC Modified: 2004-07-20 12:25 UTC
From: rimsx at hotmail dot com Assigned:
Status: Closed Package: Website problem
PHP Version: Irrelevant OS: Windows XP
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: rimsx at hotmail dot com
New email:
PHP Version: OS:

 

 [2004-06-18 19:50 UTC] rimsx at hotmail dot com
Description:
------------
In the first sentence of the online documentation for the fgets() function <http://www.php.net/manual/en/function.fgets.php>, the argument "length" should be in italics. Currently, the HTML source code looks like this:

Returns a string of up to length - 1 bytes read from the file pointed to by <VAR CLASS="parameter">handle</VAR>. Reading ends when length - 1 bytes have been read, on a newline (which is included in the return value), or on EOF (whichever comes first).

Instead, it should look like this:

Returns a string of up to <VAR CLASS="parameter">length</VAR> - 1 bytes read from the file pointed to by <VAR CLASS="parameter">handle</VAR>. Reading ends when <VAR CLASS="parameter">length</VAR> - 1 bytes have been read, on a newline (which is included in the return value), or on EOF (whichever comes first).


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-07-20 12:25 UTC] dave@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.

For future reference, please note that bugs pertaining to the manual are to be classified as "Documentation Problem", and not "PHP.net Website problem", thanks.
 [2020-02-07 06:11 UTC] phpdocbot@php.net
Automatic comment on behalf of dave
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=8c1cadd826f2c26f05aceb3afe03e4a015cd71b0
Log: - Fix #28836.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Tue Jun 16 04:00:01 2026 UTC