Skip to content

[LDAP] Deprecated functions will be removed in PHP 8.0 #38352

@michaljusiega

Description

@michaljusiega

Symfony version(s) affected: since 4.3.x

Description
Deprecated functions since PHP 7.4:

ldap_control_paged_result()
ldap_control_paged_result_response()

used in LDAP component
https://github.com/symfony/symfony/blob/4.3/src/Symfony/Component/Ldap/Adapter/ExtLdap/Query.php#L100
https://github.com/symfony/symfony/blob/4.3/src/Symfony/Component/Ldap/Adapter/ExtLdap/Query.php#L136

will be not available in PHP 8.0
See php/php-src#6235 or php/php-src@550a4f2

How to reproduce

Possible Solution
Checking PHP Version or if method exist ?

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions