[PHP-DEV] PHP 4.0 Bug #8054: ldap_get_entries returns nothing when results count = 0 From: christian <email protected>
Date: 11/30/00

From: christian <email protected>
Operating system: linux
PHP version: 4.0.2
PHP Bug Type: Directory function related
Bug description: ldap_get_entries returns nothing when results count = 0

I've upgraded to PHP 4.0.2 (previously running PHP3).

Since that I have a problem with the ldap_get_entries function which returns nothing when there is 0 entries, instead of returning an array with "count" index set to 0.
Thus the result is equivalent to false.

Why did the behaviour of this function changed since PHP3 ?

-- 
Edit Bug report at: http://bugs.php.net/?id=8054&edit=1

-- 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>