From:             hoishing at gmail dot com
Operating system: linux F.C.3
PHP version:      4.4.1
PHP Bug Type:     IMAP related
Bug description:  imap_sort() fail when using with SE_UID

Description:
------------
my php compile with imap-2004g

1.lots of unknown notice appeared with using imap_sort($stream,0,0). 

2. If SE_UID is added, such as imap_sort($stream,0,0,SE_UID),  the script
will fail to display.

Reproduce code:
---------------
1. [EMAIL PROTECTED]($stream, 0, 0);

2. [EMAIL PROTECTED]($stream,0,0,SE_UID);

Expected result:
----------------
1. array of sequence numbers without notices, as "@" is being used.

2. array of UIDs

Actual result:
--------------
1. lots of notices appeared such as:

Notice: (null)(): Missing or invalid host name after @ (errflg=3) in
Unknown on line 0

Notice: (null)(): Unterminated mailbox: [EMAIL PROTECTED] (errflg=3) in Unknown 
on
line 0

Notice: (null)(): Unterminated at-domain-list: @hotmail.com> (errflg=3) in
Unknown on line 0


2. Script fail to dispay

-- 
Edit bug report at http://bugs.php.net/?id=35350&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=35350&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=35350&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=35350&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=35350&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=35350&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=35350&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=35350&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=35350&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=35350&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=35350&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=35350&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=35350&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=35350&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=35350&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=35350&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=35350&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=35350&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=35350&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=35350&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=35350&r=mysqlcfg

Reply via email to