|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #79187 ldap_parse_result return error
Submitted: 2020-01-29 07:14 UTC Modified: -
From: angel dot castellanos at audisec dot es Assigned:
Status: Open Package: LDAP related
PHP Version: 7.4.2 OS: CentOS 7
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: angel dot castellanos at audisec dot es
New email:
PHP Version: OS:


 [2020-01-29 07:14 UTC] angel dot castellanos at audisec dot es
From manual page:
We are trying to implement the pagination in the ldap_search method after the ldap_control_paged_result_response() and ldap_control_paged_result() methods are deprecated using example number 5 that appears at

When we use the ldap_parse_result method to extract the information from the result of ldap_search, we see that the $controls object has been updated and contains the correct cookie value, but the page size value appears as 0.

Is this correct?

Shouldn't it contain the page size value of the control that is used in ldap_search?

Expected result:
The expected result is that the $controls object contains the page size used.

Actual result:
The current result is that the $ controls object contains page size 0.


Add a Patch

Pull Requests

Add a Pull Request

PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Fri Jan 15 14:01:23 2021 UTC