(PHP 5 >= 5.4.0)
ldap_control_paged_result_response — Retrieve the LDAP pagination cookie
$link
   , resource $result
   [, string &$cookie
   [, int &$estimated
  ]] )Retrieve the pagination information send by the server.
link
     An LDAP link identifier, returned by ldap_connect().
result
     
cookie
     An opaque structure sent by the server.
estimated
     The estimated number of entries to retrieve.
   Returns TRUE on success or FALSE on failure.