PHP 4.0 Bug #8054 Updated: ldap_get_entries returns nothing when results count = 0

From: Date: Fri, 01 Dec 2000 02:28:28 +0000
Subject: PHP 4.0 Bug #8054 Updated: ldap_get_entries returns nothing when results count = 0
Groups: php.dev 
Request: Send a blank email to php-dev+get-39756@lists.php.net to get a copy of this message
ID: 8054 Updated by: sniper Reported By: christian@architech.no Status: Open Bug Type: Feature/Change Request Assigned To: Comments: I think it's better this way. Why return anything if there isn't anything to be returned? reclassified as 'Feature/Change request'. --Jani Previous Comments: --------------------------------------------------------------------------- [2000-11-30 10:18:08] christian@architech.no 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 ? --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=8054

« previous php.dev (#39756) next »