ldap_exop_sync

FunctionParams changed in PHP 8.4

Performs an extended operation.

PHP 5
PHP 7
PHP 8.0-8.1
PHP 8.2
PHP 8.3
Added
PHP 8.4
Improved
PHP 8.5
PHP 8.6

ldap_exop_sync Function synopsis

ldap_exop_sync(
    LDAP\Connection $ldap,
    string $request_oid,
    ?string $request_data = null,
    ?array $controls = null,
    &$response_data = null,
    &$response_oid = null
  ): LDAP\Result|bool

Parameters

$ldap

TypeLDAP\Connection

$request_oid

Typestring

$request_data

OptionalType?stringDefault valuenull

$controls

OptionalType?arrayDefault valuenull

$response_data

Passed by reference, OptionalDefault valuenull

$response_oid

Passed by reference, OptionalDefault valuenull

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

TypeLDAP\Result|bool

Changes to the ldap_exop_sync Function

PHP 8.4

  • Parameter default value changed for position #4 ($controls): NULL to null
  ldap_exop_sync(
      LDAP\Connection $ldap,
      string $request_oid,
      ?string $request_data = null,
-     ?array $controls = NULL,
+     ?array $controls = null,
      &$response_data = null,
      &$response_oid = null
    ): LDAP\Result|bool

PHP 8.3

  • Function added

ldap_exop_sync 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 No
PHP 8.1Unsupported No
PHP 8.0Unsupported No
PHP 7.4Unsupported No
PHP 7.3Unsupported No
PHP 7.2Unsupported No
PHP 7.1Unsupported No
PHP 7.0Unsupported No
PHP 5.6Unsupported No
PHP 5.5Unsupported No
PHP 5.4Unsupported No
PHP 5.3Unsupported No