Doc #77611 [Com]: Wrong return type in function prototype for APCIterator next and valid methods

From: Date: Wed, 13 Feb 2019 13:32:12 +0000
Subject: Doc #77611 [Com]: 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-16411@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 Comment by: girgias@php.net Reported by: jluc at no-log dot org Summary: Wrong return type in function prototype for APCIterator next and valid methods Status: Verified Type: Documentation Problem Package: Documentation problem PHP Version: Irrelevant Block user comment: N Private report: N New Comment: Submitted patch at: http://edit.php.net/?patchID=3292&project=PHP Previous Comments: ------------------------------------------------------------------------ [2019-02-13 13:27:10] girgias@php.net The valid method suffers from this issue too. https://secure.php.net/manual/en/apciterator.valid.php ------------------------------------------------------------------------ [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 (#16411) next »