php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #29696 fgetss(), length argument is optimal
Submitted: 2004-08-16 05:23 UTC Modified: 2004-08-16 10:37 UTC
From: bjori at jeshus dot com Assigned:
Status: Closed Package: Documentation problem
PHP Version: 5.0.0 OS: FreeBSD 5.2.1
Private report: No CVE-ID: None
 [2004-08-16 05:23 UTC] bjori at jeshus dot com
Description:
------------
http://no2.php.net/fgetss : string fgetss ( resource handle, int length [, string allowable_tags])
[snip]Identical to fgets()[/snip]

http://no2.php.net/fgets string fgets ( resource handle [, int length])

Minor documentation problem, still a problem.

Reproduce code:
---------------
fgetss ( $fp );

Expected result:
----------------
As documented, not to work.

Actual result:
--------------
Works.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-08-16 10:37 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.

Parameter length is optional since PHP 5.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Aug 16 22:00:02 2025 UTC