Doc #52877 [Opn]: Incorrect example
| From: | markskilbeck@php.net | Date: | Sun, 19 Sep 2010 13:39:59 +0000 |
| Subject: | Doc #52877 [Opn]: Incorrect example | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-5075@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: markskilbeck@php.net
Reported by: jon at phpsitesolutions dot com
Summary: Incorrect example
Status: Open
Type: Documentation Problem
Package: Documentation problem
PHP Version: Irrelevant
-Assigned To:
+Assigned To: andrei
Block user comment: N
New Comment:
I've assigned this to Andrei as he is the package maintainer and can
comment further on this issue.
Previous Comments:
------------------------------------------------------------------------
[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