PHP 4.0 Bug #8054 Updated: ldap_get_entries returns nothing when results count = 0
| From: | sniper@php.net | Date: | Mon, 04 Dec 2000 14:55:30 +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-39978@lists.php.net to get a copy of this message | ||
ID: 8054
Updated by: sniper
Reported By: christian@architech.no
Status: Assigned
Bug Type: LDAP related
Assigned To: sniper
Comments:
This is actually a bug. I will fix this later this week.
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2000-11-30 21:28:28] sniper@php.net
I think it's better this way. Why return anything if there isn't anything
to be returned?
reclassified as 'Feature/Change request'.
--Jani
---------------------------------------------------------------------------
[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