|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #77596 Incorrect return type in some APUc function prototype
Submitted: 2019-02-11 00:06 UTC Modified: 2019-02-11 12:43 UTC
From: jluc at no-log dot org Assigned: cmb (profile)
Status: Closed Package: APC (PECL)
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2019-02-11 00:06 UTC] jluc at no-log dot org
From manual page:
AND From manual page:

Both ->next() and ->valid() return a boolean. « Returns TRUE if the current iterator position is valid, otherwise FALSE. » or "in case of success".

But the documentation describe them with a 'void' return :

- public APCUIterator::valid ( void ) : void
- public APCUIterator::next ( void ) : void

Expected result:
- public APCUIterator::valid ( void ) : bool
- public APCUIterator::next ( void ) : bool


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2019-02-11 01:09 UTC]
-Summary: bad return type in function prototype +Summary: Incorrect return type in some APUc function prototype -Status: Open +Status: Verified -Package: Documentation problem +Package: APC
 [2019-02-11 01:09 UTC]
Thanks for the bug report.
 [2019-02-11 12:42 UTC]
Automatic comment from SVN on behalf of cmb
Log: Fix ##77596: Incorrect return type in some APUc function prototype
 [2019-02-11 12:43 UTC]
-Status: Verified +Status: Closed -Assigned To: +Assigned To: cmb
 [2019-02-11 12:43 UTC]
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.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Fri Apr 16 00:01:23 2021 UTC