[PHP-DEV] Bug #4004 Updated: imap_errors() says it returns Array. I find String using gettype() on result. From: Bug Database (php-dev <email protected>)
Date: 04/02/00

ID: 4004
Updated by: chagenbu
Reported By: rdoust <email protected>
Status: Closed
Bug Type: Documentation problem
Assigned To:
Comments:

If there are no errors, it returns false:

  if (imap_errorstack == NIL) {
    RETURN_FALSE;
  }

So, do something that would cause an error, and then call
it. You'll get an array.

Full Bug description available at: http://bugs.php.net/?id=4004

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>