(PHP 7 >= 7.2.0, PHP 8)
ldap_exop_whoami — WHOAMI extended operation helper
Performs a WHOAMI extended operation and returns the data.
ldapAn LDAP\Connection instance, returned by ldap_connect().
   The data returned by the server, or false on error.
  
| Version | Description | 
|---|---|
| 8.1.0 | The ldapparameter expects an LDAP\Connection
  instance now; previously, a validldap linkresource was expected. |