#48259 [NEW]: imap_fetchstructure(), wrong primary body type table

From: Date: Wed, 13 May 2009 10:18:00 +0000
Subject: #48259 [NEW]: imap_fetchstructure(), wrong primary body type table
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-2248@lists.php.net to get a copy of this message
From: carsten_sttgt at gmx dot de Operating system: Irrelevant PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: imap_fetchstructure(), wrong primary body type table Description: ------------ Hallo, in the documentation for imap_fetchstructure() [1], the table "Primary body type" is wrong. Maybe this depends on the c-client version? I have compared it with mail.h from imap-2007e. And one change request for both tables. "other" should be replaced with "X-UNKNOWN". Regards, Carsten Reproduce code: --------------- [1] http://de.php.net/manual/en/function.imap-fetchstructure.php Expected result: ---------------- Primary body type 0 TEXT 1 MULTIPART 2 MESSAGE 3 APPLICATION 4 AUDIO 5 IMAGE 6 VIDEO 7 MODEL 8 X-UNKNOWN Transfer encodings 0 7BIT 1 8BIT 2 BINARY 3 BASE64 4 QUOTED-PRINTABLE 5 X-UNKNOWN Actual result: -------------- Primary body type 0 text 1 multipart 2 message 3 application 4 audio 5 image 6 video 7 other Transfer encodings 0 7BIT 1 8BIT 2 BINARY 3 BASE64 4 QUOTED-PRINTABLE 5 OTHER -- Edit bug report at http://bugs.php.net/?id=48259&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=48259&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=48259&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=48259&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=48259&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=48259&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=48259&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=48259&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=48259&r=needscript Try newer version: http://bugs.php.net/fix.php?id=48259&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=48259&r=support Expected behavior: http://bugs.php.net/fix.php?id=48259&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=48259&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=48259&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=48259&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=48259&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=48259&r=dst IIS Stability: http://bugs.php.net/fix.php?id=48259&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=48259&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=48259&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=48259&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=48259&r=mysqlcfg

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