php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #79388 readline() missing return on documentation
Submitted: 2020-03-17 10:45 UTC Modified: 2020-03-17 11:41 UTC
From: victor dot edu dot assis at gmail dot com Assigned: cmb (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: Any
Private report: No CVE-ID: None
 [2020-03-17 10:45 UTC] victor dot edu dot assis at gmail dot com
Description:
------------
readline() claims on documentation to always return string, but it will return false when it reaches EOF.

This info seems to be missing from the docs, as it appears on the similar fgets()  under the 'Return Values' section.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2020-03-17 11:41 UTC] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=349481
Log: Fix #79388: readline() missing return on documentation
 [2020-03-17 11:41 UTC] cmb@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2020-03-17 11:41 UTC] cmb@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.
 [2020-03-17 11:42 UTC] phpdocbot@php.net
Automatic comment on behalf of cmb
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=005c7b65cb3647e1c59f2060b2b7e7b25555696e
Log: Fix #79388: readline() missing return on documentation
 [2020-03-17 23:29 UTC] mumumu@php.net
Automatic comment from SVN on behalf of mumumu
Revision: http://svn.php.net/viewvc/?view=revision&revision=349482
Log: Fix #79388: readline() missing return on documentation
 [2020-03-17 23:30 UTC] phpdocbot@php.net
Automatic comment on behalf of mumumu
Revision: http://git.php.net/?p=doc/ja.git;a=commit;h=dbffc540c0a795f2ab25a5d66f05cd4b122373ee
Log: Fix #79388: readline() missing return on documentation
 [2020-12-30 11:59 UTC] nikic@php.net
Automatic comment on behalf of mumumu
Revision: http://git.php.net/?p=doc/ja.git;a=commit;h=0d649ffd927ab85b816683a5a5c182b64b8eba85
Log: Fix #79388: readline() missing return on documentation
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 12:01:30 2024 UTC