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

From: Date: Thu, 06 Feb 2014 07:52:46 +0000
Subject: Doc #66654 [NEW]: shift() method is documented to return boolean. But returns item itself
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-10949@lists.php.net to get a copy of this message
From: FractalizeR at yandex dot ru Operating system: Windows PHP version: 5.5.8 Package: pthreads Bug Type: Documentation Problem Bug description:shift() method is documented to return boolean. But returns item itself 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 bug report at https://bugs.php.net/bug.php?id=66654&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=66654&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=66654&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=66654&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=66654&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=66654&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=66654&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=66654&r=needscript Try newer version: https://bugs.php.net/fix.php?id=66654&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=66654&r=support Expected behavior: https://bugs.php.net/fix.php?id=66654&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=66654&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=66654&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=66654&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=66654&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=66654&r=dst IIS Stability: https://bugs.php.net/fix.php?id=66654&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=66654&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=66654&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=66654&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=66654&r=mysqlcfg

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