#44123 [Opn->Csd]: imap_bodystruct and imap_fetchbody parameter name mismatch
| From: | vrana@php.net | Date: | Fri, 07 Nov 2008 12:17:45 +0000 |
| Subject: | #44123 [Opn->Csd]: imap_bodystruct and imap_fetchbody parameter name mismatch | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-1436@lists.php.net to get a copy of this message | ||
ID: 44123
Updated by: vrana@php.net
Reported By: mpb dot mail at gmail dot com
-Status: Open
+Status: Closed
Bug Type: Documentation problem
Operating System: Irrelevant
PHP Version: Irrelevant
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation
better.
Renamed to section.
Previous Comments:
------------------------------------------------------------------------
[2008-02-14 22:18:55] mpb dot mail at gmail dot com
Description:
------------
In the following two functions:
object imap_bodystruct ( resource $imap_stream , int $msg_number ,
string $section )
string imap_fetchbody ( resource $imap_stream , int $msg_number ,
string $part_number [, int $options ] )
I believe $section and $part_number are equivalent parameters. The
documentation would be less confusing if they both had the same name,
instead of two different names. (Perhaps the names need to be changed
in the C code before they can be changed in the documentation?)
Thanks!
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=44123&edit=1