Bug #4004 Updated: imap_errors() says it returns Array. I find String using gettype() on result.

From: Date: Mon, 03 Apr 2000 00:12:01 +0000
Subject: Bug #4004 Updated: imap_errors() says it returns Array. I find String using gettype() on result.
Groups: php.dev 
Request: Send a blank email to php-dev+get-17538@lists.php.net to get a copy of this message
ID: 4004 Updated by: chagenbu Reported By: rdoust@home.com 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

« previous php.dev (#17538) next »