#44123 [NEW]: imap_bodystruct and imap_fetchbody parameter name mismatch

From: Date: Thu, 14 Feb 2008 22:18:55 +0000
Subject: #44123 [NEW]: imap_bodystruct and imap_fetchbody parameter name mismatch
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-517@lists.php.net to get a copy of this message
From: mpb dot mail at gmail dot com Operating system: Irrelevant PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: imap_bodystruct and imap_fetchbody parameter name mismatch 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 bug report at http://bugs.php.net/?id=44123&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=44123&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=44123&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=44123&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=44123&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=44123&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=44123&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=44123&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=44123&r=needscript Try newer version: http://bugs.php.net/fix.php?id=44123&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=44123&r=support Expected behavior: http://bugs.php.net/fix.php?id=44123&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=44123&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=44123&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=44123&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=44123&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=44123&r=dst IIS Stability: http://bugs.php.net/fix.php?id=44123&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=44123&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=44123&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=44123&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=44123&r=mysqlcfg

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