From: slusarz at colorado dot edu
Operating system: Red Hat Linux 9.0
PHP version: 4.3.4
PHP Bug Type: IMAP related
Bug description: New LATT_* constants
Description:
------------
It appears, as of imap-2002, the following 3 LATT_* constants are now
defined (this code is from imap-2002e/c-client/mail.h:476-481):
/* name has referral to remote mailbox */
#define LATT_REFERRAL (long) 0x10
/* has selectable inferiors */
#define LATT_HASCHILDREN (long) 0x20
/* has no selectable inferiors */
#define LATT_HASNOCHILDREN (long) 0x40
These bitmasks are correctly applied (if using imap-2002+) to the
'attributes' results returned from imap_getmailboxes() and
imap_getsubscribed() - there is just no corresponding constant in PHP yet.
It would probably be good to define these constants if the underlying
c-client supports them.
--
Edit bug report at http://bugs.php.net/?id=26831&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=26831&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=26831&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=26831&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=26831&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=26831&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=26831&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=26831&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=26831&r=support
Expected behavior: http://bugs.php.net/fix.php?id=26831&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=26831&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=26831&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=26831&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26831&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=26831&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=26831&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=26831&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26831&r=float