note 13762 added to function.imap-rfc822-parse-adrlist.php
| From: | Sven dot Dickert at planb dot de | Date: | Mon, 02 Jul 2001 08:52:25 +0000 |
| Subject: | note 13762 added to function.imap-rfc822-parse-adrlist.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-14871@lists.php.net to get a copy of this message | ||
It's better to check for
count($address_array)<1
instead of
!is_array($address_array)
cause empty addresslists like " " will give you an correct but empty array back.
http://www.php.net/manual/en/function.imap-rfc822-parse-adrlist.php