Doc #52877 [Asn->Csd]: Incorrect example

From: Date: Wed, 20 Oct 2010 06:09:24 +0000
Subject: Doc #52877 [Asn->Csd]: Incorrect example
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-5275@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=52877&edit=1 ID: 52877 Updated by: kalle@php.net Reported by: jon at phpsitesolutions dot com Summary: Incorrect example -Status: Assigned +Status: Closed Type: Documentation Problem Package: Documentation problem PHP Version: Irrelevant Assigned To: kalle Block user comment: N Previous Comments: ------------------------------------------------------------------------ [2010-10-20 08:09:07] kalle@php.net Indeed I can confirm this behaviour with latest git revision of memcached, fixed in SVN ------------------------------------------------------------------------ [2010-10-20 08:08:39] kalle@php.net Automatic comment from SVN on behalf of kalle Revision: http://svn.php.net/viewvc/?view=revision&revision=304532 Log: Fixed bug #52877 (Incorrect example) ------------------------------------------------------------------------ [2010-09-19 15:39:59] markskilbeck@php.net I've assigned this to Andrei as he is the package maintainer and can comment further on this issue. ------------------------------------------------------------------------ [2010-09-18 06:07:48] jon at phpsitesolutions dot com Description: ------------ http://us.php.net/manual/en/memcached.fetch.php The example displayed has incorrect expected output. It states that the output would look something like: array( array(), array() ) That is not correct. The docs state that the function returns the next result, which means the output would look like: array() array() So either the expected output is incorrect, or the docs are incorrect. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=52877&edit=1

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