Doc #77596 [Ver->Csd]: Incorrect return type in some APUc function prototype
| From: | cmb@php.net | Date: | Mon, 11 Feb 2019 12:43:31 +0000 |
| Subject: | Doc #77596 [Ver->Csd]: Incorrect return type in some APUc function prototype | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-16398@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=77596&edit=1
ID: 77596
Updated by: cmb@php.net
Reported by: jluc at no-log dot org
Summary: Incorrect return type in some APUc function
prototype
-Status: Verified
+Status: Closed
Type: Documentation Problem
Package: APC
PHP Version: Irrelevant
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2019-02-11 12:42:45] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=346800
Log: Fix ##77596: Incorrect return type in some APUc function prototype
------------------------------------------------------------------------
[2019-02-11 01:09:10] girgias@php.net
Thanks for the bug report.
------------------------------------------------------------------------
[2019-02-11 00:06:06] jluc at no-log dot org
Description:
------------
---
From manual page: https://php.net/apcuiterator.next
AND From manual page: http://php.net/manual/fr/apcuiterator.valid.php
---
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
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=77596&edit=1