ldap_control_paged_result_response

(PHP 5 >= 5.4.0, PHP 7)

ldap_control_paged_result_responseRetrieve the LDAP pagination cookie

Warning

This function has been DEPRECATED as of PHP 7.4.0, and REMOVED as of PHP 8.0.0. Instead the controls parameter of ldap_search() should be used. See also LDAP Controls for details.

Description

ldap_control_paged_result_response(
    resource $link,
    resource $result,
    string &$cookie = ?,
    int &$estimated = ?
): bool

Retrieve the pagination information send by the server.

Parameters

link

An LDAP resource, returned by ldap_connect().

result

cookie

An opaque structure sent by the server.

estimated

The estimated number of entries to retrieve.

Return Values

Returns true on success or false on failure.

Changelog

Version Description
8.0.0 This function has been removed.
7.4.0 This function has been deprecated.