php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #77611 Wrong return type in function prototype for APCIterator next and valid methods
Submitted: 2019-02-13 07:18 UTC Modified: 2019-02-13 16:02 UTC
From: jluc at no-log dot org Assigned: cmb (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2019-02-13 07:18 UTC] jluc at no-log dot org
Description:
------------
---
From manual page: https://php.net/apciterator.next
---

Documentation states : « public APCIterator::next ( void ) : void »
and « Returns TRUE on success or FALSE on failure. »

It should actualy state « public APCIterator::next ( void ) : bool »


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-02-13 13:27 UTC] girgias@php.net
-Summary: bad return type in function prototype +Summary: Wrong return type in function prototype for APCIterator next and valid methods -Status: Open +Status: Verified
 [2019-02-13 13:27 UTC] girgias@php.net
The valid method suffers from this issue too.
https://secure.php.net/manual/en/apciterator.valid.php
 [2019-02-13 13:32 UTC] girgias@php.net
Submitted patch at:
http://edit.php.net/?patchID=3292&project=PHP
 [2019-02-13 16:00 UTC] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=346822
Log: Fix #77611: Wrong return type in function prototype for APCIterator next and valid methods

Patch provided by girgias.
 [2019-02-13 16:02 UTC] cmb@php.net
-Status: Verified +Status: Closed -Assigned To: +Assigned To: cmb
 [2019-02-13 16:02 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.
 [2019-02-18 16:41 UTC] salathe@php.net
Automatic comment on behalf of cmb
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=541a24e9d8841302be325f1cb2af885df76dab80
Log: Fix #77611: Wrong return type in function prototype for APCIterator next and valid methods
 [2019-02-19 20:22 UTC] salathe@php.net
Automatic comment on behalf of cmb
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=4eeb37b22ecc56a0c83a7e2245a5c9b8dd061a36
Log: Fix #77611: Wrong return type in function prototype for APCIterator next and valid methods
 [2020-02-07 06:05 UTC] phpdocbot@php.net
Automatic comment on behalf of cmb
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=8a70a50b2a7795927dcda64d9124970359978579
Log: Fix #77611: Wrong return type in function prototype for APCIterator next and valid methods
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Oct 07 14:00:01 2026 UTC