Doc #77611 [Opn->Ver]: Wrong return type in function prototype for APCIterator next and valid methods

From: Date: Wed, 13 Feb 2019 13:27:10 +0000
Subject: Doc #77611 [Opn->Ver]: Wrong return type in function prototype for APCIterator next and valid methods
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-16410@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=77611&edit=1 ID: 77611 Updated by: girgias@php.net Reported by: jluc at no-log dot org -Summary: bad return type in function prototype +Summary: Wrong return type in function prototype for APCIterator next and valid methods -Status: Open +Status: Verified Type: Documentation Problem Package: Documentation problem PHP Version: Irrelevant Block user comment: N Private report: N New Comment: The valid method suffers from this issue too. https://secure.php.net/manual/en/apciterator.valid.php Previous Comments: ------------------------------------------------------------------------ [2019-02-13 07:18:35] 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 » ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=77611&edit=1

« previous php.doc.bugs (#16410) next »