Date: 04/01/00
- Next message: Bug Database: "[PHP-DEV] Bug #2461 Updated: Can't use PHP CGI for PHP-scripts outside of the _webserver_ document root"
- Previous message: Bug Database: "[PHP-DEV] Bug #2171 Updated: cgi is broken"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: rdoust <email protected>
Operating system: WinNT 4.0
PHP version: 3.0.15
PHP Bug Type: Documentation problem
Bug description: imap_errors() says it returns Array. I find String using gettype() on result.
$errs = imap_errors();
if ( count( $errs ) > 0 )
printf( "$errs[0] );
This produces an error entry in my PHP log that the parameter I'm sending to count is not an array. I later try gettype() on $errs and I'm told it's a String. I print it's value and it's empty. Does this mean that I have no errors?
-- 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>
- Next message: Bug Database: "[PHP-DEV] Bug #2461 Updated: Can't use PHP CGI for PHP-scripts outside of the _webserver_ document root"
- Previous message: Bug Database: "[PHP-DEV] Bug #2171 Updated: cgi is broken"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

