ldap_parse_exop
Function • Params changed in PHP 8.1
Parse result object from an LDAP extended operation.
ldap_parse_exop Function synopsis
ldap_parse_exop(
LDAP\Connection $ldap,
LDAP\Result $result,
&$response_data = null,
&$response_oid = null
): bool
Parameters
$ldap
TypeLDAP\Connection
An LDAP\Connection instance, returned by ldap_connect.
$result
TypeLDAP\Result
An LDAP\Result instance, returned by ldap_list or ldap_search.
$response_data
Passed by reference, OptionalDefault valuenull
Will be filled by the response data.
$response_oid
Passed by reference, OptionalDefault valuenull
Will be filled by the response OID.
Note that the parameters
$response_dataand$response_oidare passed by reference, and contain additional/updated context data that may be useful.
Return value
Typebool
Returns true on success, false on failure
Changes to the ldap_parse_exop Function
PHP 8.1
- Parameter type added for parameter #1 (
$ldap):LDAP\Connection - Parameter type added for parameter #2 (
$result):LDAP\Result
ldap_parse_exop(
- $ldap,
+ LDAP\Connection $ldap,
- $result,
+ LDAP\Result $result,
&$response_data = null,
&$response_oid = null
): bool PHP 8.0
- Return type added:
bool - Parameter name of parameter #1 changed:
$linkto$ldap - Parameter name of parameter #3 changed:
$retdatato$response_data - Parameter default value added for position #3 (
$response_data):null - Parameter name of parameter #4 changed:
$retoidto$response_oid - Parameter default value added for position #4 (
$response_oid):null
ldap_parse_exop(
- $link,
+ $ldap,
$result,
- &$retdata,
+ &$response_data = null,
- &$retoid
+ &$response_oid = null
- )
+ ): bool PHP 7.2
- Function added
ldap_parse_exop Function Availability
ldap_parse_exop Function Availability| PHP Version | Availability |
|---|---|
| PHP 8.6Upcoming Release | Yes |
| PHP 8.5Supported (Latest) | Yes |
| PHP 8.4Supported | Yes |
| PHP 8.3Security-Fixes Only | Yes |
| PHP 8.2Security-Fixes Only | Yes |
| PHP 8.1Unsupported | Yes |
| PHP 8.0Unsupported | Yes |
| PHP 7.4Unsupported | Yes |
| PHP 7.3Unsupported | Yes |
| PHP 7.2Unsupported | Yes |
| PHP 7.1Unsupported | No |
| PHP 7.0Unsupported | No |
| PHP 5.6Unsupported | No |
| PHP 5.5Unsupported | No |
| PHP 5.4Unsupported | No |
| PHP 5.3Unsupported | No |