[imp] Re: UNEXPECTED_DATA_AFTER_ADDRESS@.SYNTAX-ERROR and @UNKNOWN

Chuck Hagenbuch chuck@horde.org
Tue, 23 Oct 2001 12:27:56 -0400


Quoting Steeman Philip <philip.steeman@kh.khbo.be>:

> I think I found the error
> 
> With PHP4-CVS (phpinfo() says PHP 4.2.0-dev, and this little program:
> 
> <?php
>   $val = "philip steeman <philip.steeman@kh.khbo.be>";
>   $rij = imap_rfc822_parse_adrlist($val, "xx.khbo.be");
>   $philip=fopen("/tmp/philip3.log", "a");
>   fputs($philip, "$val\n");
>   fclose($philip);
> ?>
> 
> The $val IS CHANGED after the call to imap_rfc822_parse_adrlist. There is
> a null-char between "steeman" and "<". 

Have you filed a bug report at bugs.php.net?

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"What was and what may be lie, like children whose faces we cannot see, in 
the arms of silence. All we ever have is here, now." - Ursula K. Le Guin