Doc #66654 [Opn->Csd]: shift() method is documented to return boolean. But returns item itself

From: Date: Fri, 26 Sep 2014 06:53:14 +0000
Subject: Doc #66654 [Opn->Csd]: shift() method is documented to return boolean. But returns item itself
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-11513@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=66654&edit=1 ID: 66654 Updated by: krakjoe@php.net Reported by: FractalizeR at yandex dot ru Summary: shift() method is documented to return boolean. But returns item itself -Status: Open +Status: Closed Type: Documentation Problem Package: pthreads Operating System: Windows PHP Version: 5.5.8 -Assigned To: +Assigned To: krakjoe Block user comment: N Private report: N New Comment: Just fixed this in documentation, takes a while to be deployed. Thanks for report ;) Previous Comments: ------------------------------------------------------------------------ [2014-09-26 06:52:57] krakjoe@php.net Automatic comment from SVN on behalf of krakjoe Revision: http://svn.php.net/viewvc/?view=revision&revision=334983 Log: fix #66654 wrong return type ------------------------------------------------------------------------ [2014-02-06 07:52:46] FractalizeR at yandex dot ru Description: ------------ --- From manual page: http://www.php.net/worker.shift --- Function is documented as final public boolean Worker::shift ( void ) But doc says, that it returns: The first item from the objects properties table. Is this first item always of boolean type? ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=66654&edit=1

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