ldap_parse_exop

FunctionParams changed in PHP 8.1

Parse result object from an LDAP extended operation.

PHP 5
PHP 7.0-7.1
PHP 7.2
Added
PHP 7.3-7.4
PHP 8.0
Improved
PHP 8.1
Improved
PHP 8.2-8.3
PHP 8.4
PHP 8.5
PHP 8.6

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_data and $response_oid are 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: $link to $ldap
  • Parameter name of parameter #3 changed: $retdata to $response_data
  • Parameter default value added for position #3 ($response_data): null
  • Parameter name of parameter #4 changed: $retoid to $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

PHP VersionAvailability
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