PHP 4.0 Bug #8054: ldap_get_entries returns nothing when results count = 0
| From: | christian at architech dot no | Date: | Thu, 30 Nov 2000 15:18:08 +0000 |
| Subject: | PHP 4.0 Bug #8054: ldap_get_entries returns nothing when results count = 0 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-39710@lists.php.net to get a copy of this message | ||
From: christian@architech.no
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