#42331 [Opn->Bgs]: error operator is ignored with imap_rfc822_parse_adrlist
ID: 42331
Updated by: tony2001@php.net
Reported By: carsten_sttgt at gmx dot de
-Status: Open
+Status: Bogus
Bug Type: IMAP related
Operating System: Windows_NT
PHP Version: 5.2.3
New Comment:
PHP outputs remaining IMAP errors on request shutdown, so @ operator
cannot silence them.
This is expected behaviour, we're limited to the API c-client provides.
Previous Comments:
------------------------------------------------------------------------
[2007-08-17 22:51:10] carsten_sttgt at gmx dot de
Description:
------------
If the error_reporting is E_ALL and you use
"@imap_rfc822_parse_adrlist()", the error operator is ignored if the
addresslist is wrong.
Reproduce code:
---------------
<?php
error_reporting(E_ALL);
$address = 'mail1@example.com mail2@example.com';
@imap_rfc822_parse_adrlist($address, '');
?>
Expected result:
----------------
No output.
Actual result:
--------------
<br />
<b>Notice</b>: Unknown: Must use comma to separate addresses:
mail2@example.com (errflg=3) in <b>Unknown</b> on line <b>0</b><br />
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=42331&edit=1
Thread (4 messages)